- git
- node v4
- pm2 (
npm install -g pm2) - forever (
npm install -g forever)
npm install- start
deployBot.jsusingforever, then done.
The default trigger url is http://yourdomain:3000/deploy/:appName/:branch
###for example:
POSTrequest send tohttp://yourdomain:3000/deploy/helloworld/master- deployBot will go to
helloworldrepository, checkout tomasterbranch - then
git pullto update code