Allow the location/name of settings.json to be passed through an optional --settings arg

This commit is contained in:
Jordan 2012-02-16 00:22:53 -05:00
parent 9ca914f8cd
commit 7b2388bb56
4 changed files with 21 additions and 9 deletions

View file

@ -21,9 +21,9 @@ if [ "$(id -u)" -eq 0 ]; then
fi
#prepare the enviroment
bin/installDeps.sh || exit 1
bin/installDeps.sh $* || exit 1
#Move to the node folder and start
echo "start..."
cd "node"
node server.js
node server.js $*