...
This commit is contained in:
12
build.sh
12
build.sh
@@ -1,14 +1,14 @@
|
|||||||
|
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
cd /home/gitpod/codewww/github/threefoldfoundation/www_threefold_io/development
|
cd /workspace/code//github/threefoldfoundation/www_threefold_io
|
||||||
|
|
||||||
#set +e
|
#set +e
|
||||||
#source /home/gitpod/.publisher/nvm.sh
|
#source /workspace/codewiki/nvm.sh
|
||||||
#set -e
|
#set -e
|
||||||
#nvm use --lts
|
#nvm use --lts
|
||||||
|
|
||||||
export PATH=/home/gitpod/.publisher/versions/node/v14.17.0/bin:$PATH
|
#export PATH=/bin:$PATH
|
||||||
|
|
||||||
set +e
|
set +e
|
||||||
if [ -f vue.config.js ]; then
|
if [ -f vue.config.js ]; then
|
||||||
@@ -19,10 +19,10 @@ fi
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
mkdir -p /home/gitpod/.publisher/publish/www_threefold_io
|
mkdir -p /workspace/codewiki/publish/www_threefold_io
|
||||||
rsync -ra --delete /home/gitpod/codewww/github/threefoldfoundation/www_threefold_io/development/dist/ /home/gitpod/.publisher/publish/www_threefold_io/
|
rsync -ra --delete /workspace/code//github/threefoldfoundation/www_threefold_io/dist/ /workspace/codewiki/publish/www_threefold_io/
|
||||||
|
|
||||||
cd /home/gitpod/codewww/github/threefoldfoundation/www_threefold_io/development/dist
|
cd /workspace/code//github/threefoldfoundation/www_threefold_io/dist
|
||||||
|
|
||||||
#echo go to http://localhost:9999/
|
#echo go to http://localhost:9999/
|
||||||
#python3 -m http.server 9999
|
#python3 -m http.server 9999
|
||||||
|
|||||||
@@ -2,21 +2,21 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
cd /home/gitpod/codewww/github/threefoldfoundation/www_threefold_io/development
|
cd /workspace/code//github/threefoldfoundation/www_threefold_io
|
||||||
|
|
||||||
rm -f yarn.lock
|
rm -f yarn.lock
|
||||||
rm -rf .cache
|
rm -rf .cache
|
||||||
|
|
||||||
#set +e
|
#set +e
|
||||||
#source /home/gitpod/.publisher/nvm.sh
|
#source /workspace/codewiki/nvm.sh
|
||||||
#set -e
|
#set -e
|
||||||
|
|
||||||
if [ "true" = "true" ]; then
|
if [ "true" = "true" ]; then
|
||||||
#nvm use --lts
|
#nvm use --lts
|
||||||
npm install
|
npm install
|
||||||
rsync -ra --delete node_modules/ /home/gitpod/.publisher/node_modules/
|
rsync -ra --delete node_modules/ /workspace/codewiki/node_modules/
|
||||||
else
|
else
|
||||||
rsync -ra --delete /home/gitpod/.publisher/node_modules/ node_modules/
|
rsync -ra --delete /workspace/codewiki/node_modules/ node_modules/
|
||||||
#nvm use --lts
|
#nvm use --lts
|
||||||
npm install
|
npm install
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -34,7 +34,8 @@
|
|||||||
"v-tooltip": "^2.0.3",
|
"v-tooltip": "^2.0.3",
|
||||||
"vue-markdown": "^2.1.2",
|
"vue-markdown": "^2.1.2",
|
||||||
"isexe": "^2.0.0",
|
"isexe": "^2.0.0",
|
||||||
"vue-share-it": "^1.1.4"
|
"vue-share-it": "^1.1.4",
|
||||||
|
"node-sass": "^6.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/aspect-ratio": "^0.2.0"
|
"@tailwindcss/aspect-ratio": "^0.2.0"
|
||||||
|
|||||||
6
run.sh
6
run.sh
@@ -1,14 +1,14 @@
|
|||||||
|
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
cd /home/gitpod/codewww/github/threefoldfoundation/www_threefold_io/development
|
cd /workspace/code//github/threefoldfoundation/www_threefold_io
|
||||||
|
|
||||||
#set +e
|
#set +e
|
||||||
#source /home/gitpod/.publisher/nvm.sh
|
#source /workspace/codewiki/nvm.sh
|
||||||
#set -e
|
#set -e
|
||||||
#nvm use --lts
|
#nvm use --lts
|
||||||
|
|
||||||
export PATH=/home/gitpod/.publisher/versions/node/v14.17.0/bin:$PATH
|
#export PATH=/bin:$PATH
|
||||||
|
|
||||||
if [ -f vue.config.js ]; then
|
if [ -f vue.config.js ]; then
|
||||||
npm run-script serve
|
npm run-script serve
|
||||||
|
|||||||
Reference in New Issue
Block a user