refactor
This commit is contained in:
15
.gitignore
vendored
15
.gitignore
vendored
@@ -1,4 +1,17 @@
|
||||
|
||||
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
|
||||
|
||||
8
.gitpod.Dockerfile
vendored
8
.gitpod.Dockerfile
vendored
@@ -3,13 +3,11 @@
|
||||
FROM gitpod/workspace-full:latest
|
||||
|
||||
USER root
|
||||
RUN apt-get update && apt-get install -y mc rsync
|
||||
|
||||
#prepare for gitpod nodejs env
|
||||
RUN rm -f /tmp/install_docker.sh && curl -s -o /tmp/install_docker.sh https://raw.githubusercontent.com/threefoldfoundation/data_threefold/development/gitpod_scripts/install_docker.sh && bash /tmp/install_docker.sh
|
||||
RUN apt-get update && apt-get install -y redis-server mc
|
||||
|
||||
# RUN apt-get clean && rm -rf /var/cache/apt/* && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/*
|
||||
|
||||
USER gitpod
|
||||
|
||||
# ENTRYPOINT [ "/usr/bin/bash" ]
|
||||
|
||||
# ENTRYPOINT [ "entrypoint.sh" ]
|
||||
|
||||
33
.gitpod.yml
33
.gitpod.yml
@@ -1,15 +1,22 @@
|
||||
image:
|
||||
file: .gitpod.Dockerfile
|
||||
# # Commands to start on workspace startup
|
||||
tasks:
|
||||
# - init: bash /workspace/www_threefold_io/gitpod/install.sh
|
||||
- command: |
|
||||
rm -f /tmp/install.sh
|
||||
curl -s -o /tmp/install.sh https://raw.githubusercontent.com/threefoldfoundation/data_threefold/development/install.sh
|
||||
- name: WIKI
|
||||
command: |
|
||||
export PBRANCH=development
|
||||
curl https://raw.githubusercontent.com/crystaluniverse/crystaltools/$PBRANCH/install.sh > /tmp/install.sh
|
||||
bash /tmp/install.sh
|
||||
bash /workspace/data_threefold/gitpod_scripts/install.sh
|
||||
bash /workspace/data_threefold/gitpod_scripts/run.sh
|
||||
source /workspace/env.sh
|
||||
# publtools_check
|
||||
# cd wiki_config && publishtools flatten
|
||||
web_install
|
||||
website_install
|
||||
website_run
|
||||
echo ' - do "website_run" to run wiki or website.'
|
||||
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
|
||||
@@ -28,15 +35,15 @@ github:
|
||||
prebuilds:
|
||||
# enable for the master/default branch (defaults to true)
|
||||
master: true
|
||||
# enable for all branches in this repo (defaults to false)
|
||||
# enable for all branches in this repo (defaults to false)
|
||||
branches: true
|
||||
# enable for pull requests coming from this repo (defaults to true)
|
||||
# enable for pull requests coming from this repo (defaults to true)
|
||||
pullRequests: true
|
||||
# enable for pull requests coming from forks (defaults to false)
|
||||
# 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)
|
||||
# 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)
|
||||
# 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)
|
||||
# add a label once the prebuild is ready to pull requests (defaults to false)
|
||||
addLabel: prebuilt-in-gitpod
|
||||
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"folders": [
|
||||
{
|
||||
"path": "."
|
||||
"path": "../../home/gitpod/codewiki"
|
||||
},
|
||||
{
|
||||
"path": "../data_threefold"
|
||||
"path": "wiki_cmd"
|
||||
}
|
||||
],
|
||||
"settings": {}
|
||||
|
||||
Reference in New Issue
Block a user