Togelack
Slack Summary Service (like togetter).
How to deploy
How to run (development mode)
Requirement
run rails server
$ bundle install
$ bundle rails s
run webpack dev server
$ yarn install
$ yarn start
env
requirement
- RAILS_ENV
- MONGOID_ENV
- SLACK_TOKEN
- ex. xoxp-1234567-12345-...
- SLACK_CLIENT_ID
- App client ID (ex. 1234567)
- SLACK_CLIENT_SECRET
- App client secret (ex. abcdef12345)
- SLACK_TEAM_ID
- SLACK_TEAM_NAME
- MONGO_URL
- database url(ex. localhost:27017)
optional
- SLACK_CHANNEL
- notify slack channel (ex. general)
- SLACK_ICON
- notify slack icon (ex. :smile: or http://〜)
- REDIS_URL
- use redis cache (ex. redis://localhost)
- PRIVATE_MODE
- need slack login (ex. true or false)
LICENSE
MIT