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