This is a CI server for node.js. It depends on github to send a deploy request.
##Setup
- Download the source and install dependencies.
- Add repositories you want to use, along with scripts.
(see the examples folder for reference)
###Lanching the CI Create a script to start your app on system boot, extensive about it guide here.
- Make sure you export
PORT
environment variable, such asexport PORT=8080
. - Launch the app
node app.js
.
###How to set up deploy hook on github
- Go to your github repository settings
- Click on Service Hooks
- Click on WebHook URLs
- Add your domain e.g.
http://ci.foo.bar/hook
- Click save.
####How to test your hook Repeat steps above 1-3. Then click Test hook.