diff --git a/create.sh b/create.sh index e5816fb..2ff4415 100644 --- a/create.sh +++ b/create.sh @@ -19,6 +19,7 @@ export DJANGO_SETTINGS_MODULE=project.settings.prod NODE_ENV='staging' export NODE_ENV='staging' export NODEPORT=$nodePort +export djangoURL="http://$name.staging.bytedev.co" git clone $sshURL . diff --git a/update.sh b/update.sh index 6d42bbb..b0b65ec 100644 --- a/update.sh +++ b/update.sh @@ -29,6 +29,8 @@ NODE_ENV='staging' export NODE_ENV='staging' nodePort=`cat env/nodePort` export NODEPORT=$nodePort +export djangoURL="http://$name.staging.bytedev.co" + forever stop $workingPath/node_rtc/app.js forever start $workingPath/node_rtc/app.js