default port changed in config.js; no port in deploying scripts

This commit is contained in:
tmshv committed 2016-03-25 20:44:14 +03:00
1 parent 22e766aac8
commit 2f9bec99a2
3 files changed
+2 -6

No files matched your search

+1 -2
View File
@@ -5,7 +5,6 @@ echo "Deploying art.shburg.org"
NODE_ENV=production gulp deploy
server="art.shburg.org"
app_port=1800
tarfile="build.tar.gz"
tarpath=$TMPDIR${tarfile}
destpath="~/www/art.shburg.org"
@@ -29,7 +28,7 @@ scp ${tarpath} hoster@${server}:${destpath}
echo "Build file successfully uploaded on server"
echo "Installing..."
ssh hoster@${server} "bash -s" -- < ./install.sh ${destpath} ${tarfile} ${app_port}
ssh hoster@${server} "bash -s" -- < ./install.sh ${destpath} ${tarfile}
rm ${tarpath}
echo "Done"