refactor
This commit is contained in:
36
gitpod_template_for_web_repo/.gitignore
vendored
Normal file
36
gitpod_template_for_web_repo/.gitignore
vendored
Normal 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*
|
||||||
|
|
||||||
13
gitpod_template_for_web_repo/.gitpod.Dockerfile
vendored
Normal file
13
gitpod_template_for_web_repo/.gitpod.Dockerfile
vendored
Normal 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" ]
|
||||||
51
gitpod_template_for_web_repo/.gitpod.yml
Normal file
51
gitpod_template_for_web_repo/.gitpod.yml
Normal 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
|
||||||
17
gitpod_template_for_web_repo/workspace.code-workspace
Normal file
17
gitpod_template_for_web_repo/workspace.code-workspace
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"folders": [
|
||||||
|
{
|
||||||
|
"path": "/home/gitpod/publisher"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "/home/gitpod/code/crystaltools"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "/home/gitpod/.vmodules/despiegk/crystallib"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"settings": {}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user