package json

This commit is contained in:
2021-08-13 06:50:33 +00:00
parent 24994e3bc0
commit 9fdad69dd1
4 changed files with 84 additions and 13 deletions

25
install.sh Executable file
View File

@@ -0,0 +1,25 @@
set -e
cd /home/gitpod/codewww/github/threefoldfoundation/www_threefold_io/development
rm -f yarn.lock
rm -rf .cache
#set +e
#source /home/gitpod/.publisher/nvm.sh
#set -e
if [ "true" = "true" ]; then
#nvm use --lts
npm install
rsync -ra --delete node_modules/ /home/gitpod/.publisher/node_modules/
else
rsync -ra --delete /home/gitpod/.publisher/node_modules/ node_modules/
#nvm use --lts
npm install
fi