This commit is contained in:
2021-08-26 14:43:35 +02:00
parent 2283ce80ec
commit c0591bef67
4 changed files with 117 additions and 0 deletions

36
gitpod_template_for_web_repo/.gitignore vendored Normal file
View File

@@ -0,0 +1,36 @@
examples/builder
examples/docker
examples/publisher
examples/texttools
examples/gittools
examples/tmux
examples/vredis2
*dSYM/
publisher/publish
install_publisher
.vmodules/
vex_webserver
publishtools/publishtools
.vscode
*.log
!.env.example
.cache
.DS_Store
src/.temp
content/blog
content/news
content/person
content/project
node_modules
!.env.example
.env
.env.*
yarn.lock
.installed
package-lock.json
dist
.temp
build*
run*
install*

View File

@@ -0,0 +1,13 @@
FROM gitpod/workspace-full:latest
USER root
RUN apt-get update && apt-get install -y redis-server mc rsync
# RUN apt-get clean && rm -rf /var/cache/apt/* && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/*
USER gitpod
# ENTRYPOINT [ "entrypoint.sh" ]

View File

@@ -0,0 +1,51 @@
image:
file: .gitpod.Dockerfile
tasks:
- name: WIKI
command: |
curl https://raw.githubusercontent.com/crystaluniverse/crystaltools/development/install.sh > /tmp/install.sh
bash /tmp/install.sh
source /workspace/env.sh
publtools_check
cd config
publishtools install
cd ..
clear
echo ' -- WEB PUBLISH TOOLS -- '
echo
echo ' - do "./run" to run website.'
echo ' - do "./build" to build website, see in dir build for result.'
echo ' - do "open ../workspace.code-workspace" to open all relevant dirs in your editor.'
ports:
- port: 9998
onOpen: open-browser
- port: 8080
onOpen: open-browser
- port: 6379
onOpen: ignore
vscode:
extensions:
- vlanguage.vscode-vlang
- telesoho.vscode-markdown-paste-image
- yzhang.markdown-all-in-one
- shd101wyy.markdown-preview-enhanced
- bierner.markdown-mermaid
- darkriszty.markdown-table-prettify
- bpruitt-goddard.mermaid-markdown-syntax-highlighting
- shuworks.vscode-table-formatter
github:
prebuilds:
# enable for the master/default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: true
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# enable for pull requests coming from forks (defaults to false)
pullRequestsFromForks: false
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
addComment: true
# add a "Review in Gitpod" button to pull requests (defaults to false)
addBadge: false
# add a label once the prebuild is ready to pull requests (defaults to false)
addLabel: prebuilt-in-gitpod

View File

@@ -0,0 +1,17 @@
{
"folders": [
{
"path": "/home/gitpod/publisher"
},
{
"path": "/home/gitpod/code/crystaltools"
},
{
"path": "."
},
{
"path": "/home/gitpod/.vmodules/despiegk/crystallib"
}
],
"settings": {}
}