Merge branch 'master' of https://github.com/wmantly/gitdeploy
This commit is contained in:
commit
33d066fa39
@ -19,6 +19,7 @@ export DJANGO_SETTINGS_MODULE=project.settings.prod
|
|||||||
NODE_ENV='staging'
|
NODE_ENV='staging'
|
||||||
export NODE_ENV='staging'
|
export NODE_ENV='staging'
|
||||||
export NODEPORT=$nodePort
|
export NODEPORT=$nodePort
|
||||||
|
export djangoURL="http://$name.staging.bytedev.co"
|
||||||
|
|
||||||
git clone $sshURL .
|
git clone $sshURL .
|
||||||
|
|
||||||
|
@ -29,6 +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
|
||||||
|
export djangoURL="http://$name.staging.bytedev.co"
|
||||||
|
|
||||||
forever stop $workingPath/node_rtc/app.js
|
forever stop $workingPath/node_rtc/app.js
|
||||||
forever start $workingPath/node_rtc/app.js
|
forever start $workingPath/node_rtc/app.js
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user