From 0cfb5e54f99a04425948441785e9b712d8f099e9 Mon Sep 17 00:00:00 2001 From: william mantly Date: Sat, 1 Oct 2016 14:36:30 -0400 Subject: [PATCH] node --- create.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/create.sh b/create.sh index ae5f89e..20d4d18 100644 --- a/create.sh +++ b/create.sh @@ -2,7 +2,7 @@ name="$1" sshURL="$2" -nodePort = `./random_port.py` +nodePort=`./random_port.py` workingPath=/var/www/gitwrapper/$name echo "starting $sshURL on $name" @@ -47,7 +47,7 @@ python3 manage.py migrate chmod 777 db.sqlite3 forever stop $workingPath/node_rtc/app.js -echo "starting node add" +echo "starting node app on port $nodePort" forever start $workingPath/node_rtc/app.js echo "creating apache VirtualHost file"