Skip to content
/ swarmbot Public

Slack notifications when a list in your Kanban Trello board goes over its limit

Notifications You must be signed in to change notification settings

CXInc/swarmbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swarmbot

This may be useful if you:

It watches your Trello board for lists that exceed their limits, and post to Slack when you need to swarm.

Deploying an instance on Heroku

Prerequisites:

Launching an instance:

git clone [email protected]:CXInc/swarmbot.git
cd swarmbot
heroku apps:create my-swarmbot-app-name-here
heroku addons:add rediscloud
heroku config:set SLACK_TEAM=YOUR_SLACK_TEAM \
    SLACK_TOKEN=YOUR_SLACK_TOKEN \
    SLACK_CHANNEL=YOUR_SLACK_CHANNEL \
    TRELLO_DEVELOPER_PUBLIC_KEY=YOUR_TRELLO_KEY \
    TRELLO_MEMBER_TOKEN=YOUR_TRELLO_TOKEN \
    TRELLO_BOARD_ID=YOUR_TRELLO_BOARD_OD \
    ROOT_URL=http://my-swarmbot-app-name-here.herokuapp.com

Local development

Prerequisites:

  • Deployment prerequisites listed above
  • Redis
  • Ruby 2+
  • Foreman (gem install foreman)
  • (Optional) ngrok (gem install ngrok)

Get the code:

git clone [email protected]:CXInc/swarmbot.git
cd swarmbot
cp .env.example .env

Ngrok provides a convenient way to make your local development instance accessible by Trello webhooks. You can either use it or any other method of making your local instance reachable by Trello. For ngrok, run:

ngrok 5000

Add your credentials in .env, then run:

foreman run

If all is working, the app should boot up, and then show a HEAD request come in when Trello establishes a webhook.

About

Slack notifications when a list in your Kanban Trello board goes over its limit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages