From b796a8d23c97eb5e4e56c6f0ecb18c3fb221749e Mon Sep 17 00:00:00 2001 From: kristof de spiegeleer Date: Sat, 14 Aug 2021 14:21:09 +0000 Subject: [PATCH] ... --- build.sh | 12 ++++++------ install.sh | 8 ++++---- package.json | 3 ++- run.sh | 6 +++--- 4 files changed, 15 insertions(+), 14 deletions(-) diff --git a/build.sh b/build.sh index 639e4087a..bb84084e5 100755 --- a/build.sh +++ b/build.sh @@ -1,14 +1,14 @@ set -e -cd /home/gitpod/codewww/github/threefoldfoundation/www_threefold_io/development +cd /workspace/code//github/threefoldfoundation/www_threefold_io #set +e -#source /home/gitpod/.publisher/nvm.sh +#source /workspace/codewiki/nvm.sh #set -e #nvm use --lts -export PATH=/home/gitpod/.publisher/versions/node/v14.17.0/bin:$PATH +#export PATH=/bin:$PATH set +e if [ -f vue.config.js ]; then @@ -19,10 +19,10 @@ fi set -e -mkdir -p /home/gitpod/.publisher/publish/www_threefold_io -rsync -ra --delete /home/gitpod/codewww/github/threefoldfoundation/www_threefold_io/development/dist/ /home/gitpod/.publisher/publish/www_threefold_io/ +mkdir -p /workspace/codewiki/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/ #python3 -m http.server 9999 diff --git a/install.sh b/install.sh index d3262e786..96ad6b43e 100755 --- a/install.sh +++ b/install.sh @@ -2,21 +2,21 @@ 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 -rf .cache #set +e -#source /home/gitpod/.publisher/nvm.sh +#source /workspace/codewiki/nvm.sh #set -e if [ "true" = "true" ]; then #nvm use --lts npm install - rsync -ra --delete node_modules/ /home/gitpod/.publisher/node_modules/ + rsync -ra --delete node_modules/ /workspace/codewiki/node_modules/ else - rsync -ra --delete /home/gitpod/.publisher/node_modules/ node_modules/ + rsync -ra --delete /workspace/codewiki/node_modules/ node_modules/ #nvm use --lts npm install fi diff --git a/package.json b/package.json index d294b2b1d..24df30b27 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,8 @@ "v-tooltip": "^2.0.3", "vue-markdown": "^2.1.2", "isexe": "^2.0.0", - "vue-share-it": "^1.1.4" + "vue-share-it": "^1.1.4", + "node-sass": "^6.0.1" }, "devDependencies": { "@tailwindcss/aspect-ratio": "^0.2.0" diff --git a/run.sh b/run.sh index c2127cc72..fa9d86e65 100755 --- a/run.sh +++ b/run.sh @@ -1,14 +1,14 @@ set -e -cd /home/gitpod/codewww/github/threefoldfoundation/www_threefold_io/development +cd /workspace/code//github/threefoldfoundation/www_threefold_io #set +e -#source /home/gitpod/.publisher/nvm.sh +#source /workspace/codewiki/nvm.sh #set -e #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 npm run-script serve