This commit is contained in:
2021-08-26 11:45:51 +00:00
parent 4fb4686f77
commit 13dee2e04f
5 changed files with 100 additions and 45 deletions

19
install.sh Executable file
View File

@@ -0,0 +1,19 @@
source /home/gitpod/publisher/nvm.sh && nvm use --lts && export PATH=/home/gitpod/publisher/versions/node/v14.17.5/bin:$PATH
set -e
cd /workspace/www_threefold_io
rm -f yarn.lock
rm -rf .cache
if [ "true" = "true" ]; then
npm install
rsync -ra --delete node_modules/ /home/gitpod/publisher/node_modules/
else
rsync -ra --delete /home/gitpod/publisher/node_modules/ node_modules/
npm install
fi