Work in progress!
Reference implementation of how to run the Github robot Tutter as a Rack app.
It will be compatible with the Heroku Ruby buildpack and will run on Dokku.
bundle
Take a look at config/tutter.yaml
and the official tutter docs
rackup config.ru
Simply push to Heroku or a Dokku
It's a good idea to keep your secret access tokens outside of the repo. If you use Dokku you can easily add tokens as ENV variables and reference them from the tutter.yaml file.
Example
$ dokku config:set tutter TESTING_TOKEN=your_token_here
projects:
- name: 'jpettersson/testing'
access_token_env_var: 'TESTING_TOKEN'
github_site: 'https://github.com'
github_api_endpoint: 'https://api.github.com'
action: 'thanks'