How can I automate the deployment of Node.js?

I'm looking for something similar to Capistrano for Rails - https://github.com/capistrano/capistrano/wiki/

I would like to be able to run one command from my workstation, which will update the code on my server (s) from the GitHub project and handle all the necessary process reloads for the application. I should be able to control when this happens, and not use the hook in the GitHub validation event.

Node.js developers also use Capistrano, or is there a tool that works better for Node.js?

+7
source share
2 answers

Capistrano seems to be the most popular choice.

+2
source

You can use fabric, this is python lib. Nodejs already uses python for some build operations for extensions, for no reason why you also cannot use python to fulfill your requests.

http://docs.fabfile.org/en/1.2.2/index.html

I do not know about javascript lib that does this, not to mention that there is not one. The fabric sounds very similar to what capistrano is, but maybe a little different in some respects.

+4
source

All Articles