Slackまとめ
Ruby HTML JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
clients
config
db
lib
public
spec
vendor/assets
.gitignore
.ruby-version
CHECKS
Gemfile
Gemfile.lock
LICENSE.txt
Procfile
README.md
Rakefile
app.json
config.ru
togelack.png

README.md

Togelack

Deploy

Slack Summary Service (like togetter).

How to deploy

env

requirement

  • RAILS_ENV
    • "production"
  • MONGOID_ENV
    • "production"
  • 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
    • ex. T1234567
  • SLACK_TEAM_NAME
    • ex. toripota
  • MONGO_URL
    • database url(ex. localhost:27017)

optional

  • SLACK_CHANNEL
    • notify slack channel (ex. general)
  • SLACK_ICON
    • notify slack icon (ex. 😄 or http://〜)
  • REDIS_URL
    • use redis cache (ex. redis://localhost)
  • PRIVATE_MODE
    • need slack login (ex. true or false)

LICENSE

MIT