deployjs

0.0.2 • Public • Published

=deployjs

Stupid simple deployment for cluster.js applications.

npm install deployjs

Add a file deploy.js to your project

require("deployjs").CLI();

Add a project .deployspec

{
  "name": "application_name",
  "dir": "/path/to/your/application",
  "host": "hostname",
  "branch": "gitbranch"
}

What it does:

usage:
  setup:  make remote server directories
  pop:  pop the most recent master from remote server, NOTE: only roles back from the most recent deploy
  push: push the latest master to remote server
  reload: send the reload signal to currently running application
  stop: send the kill signal to currently running application
  start:  start up the current application
  spec: dump the deploy spec

Readme

Keywords

none

Package Sidebar

Install

npm i deployjs

Weekly Downloads

3

Version

0.0.2

License

none

Last publish

Collaborators

  • taf2