juliangruber / Deploy From Npm
Continuous deployment tool tailing npm
Stars: ✭ 34
Programming Languages
javascript
184084 projects - #8 most used programming language
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.
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
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].