This is a version of GitHub's Campfire bot, Hubot, which is designed to be deployed on Heroku with the Slack adaptor.
This Hubot has been customized for being most useful to Code for America brigades. At the moment, that means:
- Connected to Slack, the chat tool of choice for brigades.
- Includes the
hubot-cfa-brigade-checkin
script for event checkins from chat. - More to come?
The most straight-forward way to get up and running will assume that you don't already have a Hubot connected to Slack.
-
Fork this repo.
-
(Optional) Make any changes you'd like.
-
In your own repo. click the Deploy to Heroku button below. The italicized part is particularly important if you made changes.
-
Use the form to configure and provision your Hubot. (You will need to open new tabs and visit other websites while filling it out.)
Note: Don't forget name your Hubot something fun, or others will judge you. At least I will. (The actual naming happens on Slack's system when creating the API token.)
-
Once the Heroku app is created, consider connecting it to your GitHub repo and setting up auto-deploy on the
master
branch. This can be done at your app's URL:https://dashboard.heroku.com/apps/YOUR-HUBOT-APP-NAME/deploy
-
To wake Hubot up in the morning, configure Heroku's scheduler addon according the the
hubot-heroku-keepalive
script's README.
The aforementioned Deploy to Heroku button:
- Your brigade will not get automatic updates when this original repo is updated. If there are future changes, you will need to compare and merge them into your own repo.
MIT, just like the upstream Hubot license, so go 🔩s.