default port changed in config.js; no port in deploying scripts
This commit is contained in:
1 parent
22e766aac8
commit
2f9bec99a2
3 files changed
+2
-6
No files matched your search
@@ -2,7 +2,6 @@
|
||||
|
||||
dir_path="$1"
|
||||
build_file="$2"
|
||||
port="$3"
|
||||
|
||||
cd ${dir_path}
|
||||
|
||||
@@ -12,8 +11,6 @@ gunzip -c ${build_file} | tar xopf -
|
||||
|
||||
npm install --production --loglevel error
|
||||
|
||||
export PORT=${port}
|
||||
|
||||
#starting www
|
||||
if forever restart src/bin/www.js; then
|
||||
echo www.js restarted
|
||||
|
||||
Reference in new issue
Block a user