Created
June 30, 2014 12:00
-
-
Save outbounder/380642fc8838455931d9 to your computer and use it in GitHub Desktop.
angelscripts cellcmds cell.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"remote": "[email protected]", | |
"cwd": "~/app", | |
"source": "[email protected]", | |
"origin": "origin", | |
"branch": "develop", | |
"nvmPath": "~/.nvm/nvm.sh", | |
"nodeVersion": "v0.10.24", | |
"start": "forever --sourceDir /home/app -a -l /home/app/app.js.out --minUptime 5000 --spinSleepTime 2000 start app.js", | |
"stop": "forever stop app.js", | |
"restart": "forever restart app.js", | |
"status": "forever list", | |
"build": "CELL_MODE=_staging node ./node_modules/.bin/angel app build", | |
"upgrade": "git fetch {origin} && git checkout {branch} && git pull {origin} {branch} && npm install --production && {build} && {stop} && {start}", | |
"backendupgrade": "git fetch {origin} && git checkout {branch} && git pull {origin} {branch} && npm install --production && {stop} && {start}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment