kwappa / kinoco

Personal slack bot based on Ruboty

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kinoco

kinoco is a Ruboty based slack bot.

Deploy

Features

Install

Common

  • clone kwappa/kinoco
  • create bot integration on your slack team
  • configure your trello API key
  • place .env at root directory and set variables by dotenv syntax
    • SLACK_TOKEN : your token of slack integration for lita
    • SLACK_OWNER_ID : your user ID of slack
    • GAROON_ENDPOINT : your garoon URL (ends with ?WSDL)
    • GAROON_USERNAME : your garoon username
    • GAROON_PASSWORD : your garoon password
    • TRELLO_DEVELOPER_PUBLIC_KEY : your trello API key
    • TRELLO_MEMBER_TOKEN : your trello API token
    • TODO_OWNERS : users who can operate ruboty-todo
      • join each user name by comma
      • e.g: owner_alice,owner_bob,owner_charlie
  • also place basic parameter for Ruboty#env and ruboty-redis

Mac OS X

  • bundle install
  • install and start redis
    • brew install redis
    • redis-server /usr/local/etc/redis.conf
  • bundle exec ruboty --dotenv

Heroku

  • create your app
  • add heroku as a remote repository of git
    • heroku git:remote --app #{YOUR_APP}
  • install Redis To Go to your app
    • 💳 required
  • install and login Heroku Toolbelt
  • set environment variables to your app
    • heroku config:set #{KEY}=#{VALUE} --app #{YOUR_APP}
    • execute bin/heroku_env to set from .env
  • deploy to heroku and run
    • git push heroku master
    • heroku ps:scale bot=1

License

The program is available as open source under the terms of the MIT License.

About

Personal slack bot based on Ruboty

License:MIT License


Languages

Language:Ruby 100.0%