Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A simple deploy script to handle deploying cluster.js apps

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .deployspec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 index.js
Octocat-spinner-32 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.