Skip to content

Instantly share code, notes, and snippets.

@epayet
Created July 28, 2014 15:58
Show Gist options
  • Save epayet/19a3818d22fdf92749a5 to your computer and use it in GitHub Desktop.
Save epayet/19a3818d22fdf92749a5 to your computer and use it in GitHub Desktop.
cp configServer.json config.json
rm -rf node_modules
npm install
#npm test
if forever list | grep 'wsmanager' ; then
forever stop wsmanager
fi
forever start --append --uid wsmanager app.js
#forever list | grep 'wsmanager'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment