Store Github events as JSON in a Postgres database
- Clone a copy of this repo
- Create a new Heroku app and push this to it
- Run
heroku run rake db:migrate
to create the tables - Set up an organization-wide webhook that points to 'https://.herokuapp.com/payloads' with an appropriate secret
- Configure the app with your secret, a la
heroku config:set WEBHOOK_SECRET_TOKEN=<your-token-goes-here>
- Check your webhook settings (https://github.com/organizations//settings/hooks) to make sure hooks are being delivered
- Hook up your Heroku Postgres DB to a reporting tool of your choice for analysis