Used to populate our backend (currently CouchDB) for the Ember Help Wanted app
- The easiest way to setup couch is through docker,
docker run --name help-wanted-couchdb -p 5984:5984 -d couchdb
- For alternate ways, refer to the official installation docs
- Run
curl -X PUT http://127.0.0.1:5984/help-wanted
to create the db - To populate the store run
npm run build && ./build/populate.js org/repoName
- Use ngrok to create a tunnel to your machine that github can reach
- In your repo, go to Settings -> Webhooks & services -> Add webhook
- Payload URL: YourNGrokUrl/issue-handler
- Secret: oursecrethere
- To inspect payload visit http://127.0.0.1:4000
- To inspect logs run ./node_modules/.bin/bunyan logs/events.log