rodent
npm package to deploy node.js apps.
Usage
- Install globally with npm:
sudo npm install -g rodent
- Make sure these properties exist in your
package.json
:
- Install and configure the prerequisites on your targets:
- authbind
- node.js v0.10.x
- git
- Use the CLI to deploy your code:
Usage: rodent [command]
Available commands:
list list available deploy targets
init <target> - prepares target to accept deployments
start <target> - starts the remote server
stop <target> - stops the remote server
diff <target> [--branch branch] - display what will be deployed on target
deploy <target> [--branch branch] [--npmforce] - deploy code
abort <target> - aborts a hanging deploy
monitor <target> - monitor target processes
exec <target> [command] - run command in target's environment