installer cleanup
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -17,4 +17,5 @@ dist
|
|||||||
.installed
|
.installed
|
||||||
install.sh
|
install.sh
|
||||||
run.sh
|
run.sh
|
||||||
|
build.sh
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
|||||||
13
build.sh
13
build.sh
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user