From 3577d867d135fa37f9438ea529b61c934a19adc9 Mon Sep 17 00:00:00 2001 From: William Mantly Jr Date: Wed, 5 Oct 2016 04:05:37 -0400 Subject: [PATCH 1/2] Update create.sh --- create.sh | 1 + 1 file changed, 1 insertion(+) 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 . From 81ae2dc1e360f2d602b2a163f9252af8bd9747be Mon Sep 17 00:00:00 2001 From: William Mantly Jr Date: Wed, 5 Oct 2016 04:06:04 -0400 Subject: [PATCH 2/2] Update update.sh --- update.sh | 2 ++ 1 file changed, 2 insertions(+) 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