1.1.0 • Published 8 years ago

deploy-from-npm v1.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

deploy-from-npm

Continuous deployment tool using npm.

Watches npm for all updates to top level dependencies, then if there's a match it runs tests, upgrades your app and fires your restart command.

npm.io

Usage

$ cd my-service

$ # use something like psy or forever to run your service
$ npm install -g psy
$ psy start -n my-service -- npm start

$ # use deploy-from-npm to restart it once a dependency has been updated
$ npm install -g deploy-from-npm
$ deploy-from-npm . "psy restart my-service"

And in general:

$ deploy-from-npm

Usage:

  $ deploy-from-npm DIR RELOAD

Example:

  $ deploy-from-npm /srv/my-service "kill $server-pid"

Installation

$ npm install -g deploy-from-npm

Kudos

This was @mafintosh's idea, I'm just implementing it.

License

MIT

1.1.0

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.1

8 years ago