Skip to content

Commit 11369b5

Browse files
committed
add helper to run server with current build
1 parent a266054 commit 11369b5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

startLocalServerAndUpdateBuild.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# private file to copy the zip file from my VPS
2+
set -e
3+
echo "running zip on js-framework-benchmark"
4+
ssh $VPS_HOST "cd js-framework-benchmark && npm run zip"
5+
scp $VPS_HOST:/home/stefan/js-framework-benchmark/build.zip .
6+
unzip -o build.zip
7+
ssh $VPS_HOST "ls -l js-framework-benchmark/build.zip"
8+
ls -l build.zip
9+
npm start

0 commit comments

Comments
 (0)