Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A simple deploy script to handle deploying cluster.js apps
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.deployspec
.gitignore
README.md
index.js
package.json

README.md

=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
Something went wrong with that request. Please try again.