node
This commit is contained in:
parent
38a592e29e
commit
7819cdda0d
@ -48,9 +48,9 @@ python3 manage.py collectstatic --noinput
|
||||
python3 manage.py migrate
|
||||
chmod 777 db.sqlite3
|
||||
|
||||
forever stop $workingPath/node_rtc/app.js
|
||||
/usr/local/bin/forever stop $workingPath/node_rtc/app.js
|
||||
echo "starting node app on port $nodePort"
|
||||
forever start $workingPath/node_rtc/app.js
|
||||
/usr/local/bin/forever start $workingPath/node_rtc/app.js -l
|
||||
|
||||
echo "creating apache VirtualHost file"
|
||||
|
||||
|
@ -30,8 +30,8 @@ NODE_ENV='staging'
|
||||
export NODE_ENV='staging'
|
||||
nodePort=cat env/nodePort
|
||||
export NODEPORT=$nodePort
|
||||
forever stop $workingPath/node_rtc/app.js
|
||||
forever start $workingPath/node_rtc/app.js
|
||||
/usr/local/bin/forever stop $workingPath/node_rtc/app.js
|
||||
/usr/local/bin/forever start $workingPath/node_rtc/app.js
|
||||
|
||||
/usr/sbin/service apache2 restart
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user