installer cleanup
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -17,4 +17,5 @@ dist
|
||||
.installed
|
||||
install.sh
|
||||
run.sh
|
||||
build.sh
|
||||
package-lock.json
|
||||
|
||||
13
build.sh
13
build.sh
@@ -1,7 +1,7 @@
|
||||
|
||||
|
||||
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
|
||||
set +e
|
||||
@@ -12,5 +12,16 @@ nvm use --lts
|
||||
|
||||
export PATH=/Users/despiegk/.publisher/versions/node/v15.8.0/bin:$PATH
|
||||
|
||||
set +e
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user