Tokite ![CircleCI](https://circleci.com/gh/hogelog/tokite.svg?style=svg)
Tokite send GitHub event (pull-request, issue and comment) to Slack.
Notification setting are personalized and customizable by query.
Installation
Tokite works as rails mountable engine.
Add this line to your rails application's Gemfile:
gem "tokite"
And mount engine.
Rails.application.routes.draw do
mount Tokite::Engine => "/"
end
Setup database
$ ./bin/rails db:create
$ ./bin/rails tokite:ridgepole:install
$ ./bin/rails tokite:ridgepole:apply
Setup yarn pkg
$ ./bin/rails tokite:yarn:install
Configuration
GOOGLE_CLIENT_ID | Google+ OAuth2 client ID |
---|---|
GOOGLE_CLIENT_SECRET | Google+ OAuth2 client secret |
GOOGLE_HOSTED_DOMAIN (optional) | Limited by G Suite domain |
SECRET_KEY_BASE | rails secret key |
SLACK_WEBHOOK_URL | Slack incoming webhook url |
SLACK_NAME (optional) | Slack notification user name |
SLACK_ICON_EMOJI (optional) | Slack notification icon |
SENTRY_DSN (optional) | Sentry DSN |
APP_HOST (optional) | Application host url |