Simple Node.js deployment, Capistrano-style
In order to set up simple project deployment with minimum configuration/programming.
Currently, the tool conforms to the following assumptions:
- the code is being fetched from a Git repositories, accessible from the remote servers;
- ssh key (
~/.ssh/id_rsa.pub) is being used for authentication;
package.jsonhas the following npm scripts described:
deploy(to use with Naught, for example);
- some more.
sudo npm install -g zaz
Place somewhere (in your project root, for example) a file named
with the following structure:
zaz <stage> looks for
zaz.json and performs the deployment according
- are welcome;
- should be tested;
- should follow the same coding style.
Keep it simple, minimum bells and whistles, please.
Copyright (c) 2014 Ruslan Bredikhin