installer cleanup
This commit is contained in:
27
build.sh
27
build.sh
@@ -1,27 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
set -e
|
|
||||||
cd /Users/sacha/codewww/github/threefoldfoundation/www_examplesite
|
|
||||||
|
|
||||||
#need to ignore errors for getting nvm not sure why
|
|
||||||
set +e
|
|
||||||
source /Users/sacha/.publisher/nvm.sh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
nvm use --lts
|
|
||||||
|
|
||||||
export PATH=/Users/sacha/.publisher/versions/node/v15.8.0/bin:$PATH
|
|
||||||
|
|
||||||
set +e
|
|
||||||
gridsome build
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
mkdir -p /Users/sacha/.publisher/publish/www_examplesite
|
|
||||||
rsync -ra --delete /Users/sacha/codewww/github/threefoldfoundation/www_examplesite/dist/ /Users/sacha/.publisher/publish/www_examplesite/
|
|
||||||
|
|
||||||
cd /Users/sacha/codewww/github/threefoldfoundation/www_examplesite/dist
|
|
||||||
|
|
||||||
#echo go to http://localhost:9999/
|
|
||||||
#python3 -m http.server 9999
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user