installer cleanup

This commit is contained in:
2021-02-07 11:56:17 +02:00
parent 0da1fd35fb
commit b78623ec1c
2 changed files with 13 additions and 1 deletions

1
.gitignore vendored
View File

@@ -17,4 +17,5 @@ dist
.installed .installed
install.sh install.sh
run.sh run.sh
build.sh
package-lock.json package-lock.json

View File

@@ -1,7 +1,7 @@
set -e set -e
cd /Users/despiegk/codesync/github/threefoldfoundation/www_examplesite cd /Users/despiegk/codewww/github/threefoldfoundation/www_examplesite
#need to ignore errors for getting nvm not sure why #need to ignore errors for getting nvm not sure why
set +e set +e
@@ -12,5 +12,16 @@ nvm use --lts
export PATH=/Users/despiegk/.publisher/versions/node/v15.8.0/bin:$PATH export PATH=/Users/despiegk/.publisher/versions/node/v15.8.0/bin:$PATH
set +e
gridsome build gridsome build
set -e
mkdir -p /Users/despiegk/.publisher/publish/www_examplesite
rsync -ra --delete /Users/despiegk/codewww/github/threefoldfoundation/www_examplesite/dist/ /Users/despiegk/.publisher/publish/www_examplesite/
cd /Users/despiegk/codewww/github/threefoldfoundation/www_examplesite/dist
echo go to http://localhost:9999/
python3 -m http.server 9999