gratipay / roobot

(deprecated) A Hubot instance for the #gratipay IRC channel.
http://inside.gratipay.com/chat
2 stars 5 forks source link

Roobot (deprecated)

This is was Gratipay's version of GitHub's Campfire bot, hubot. He's pretty cool.

Roobot was powered off on 18th October 2016. https://github.com/gratipay/inside.gratipay.com/issues/834

Requirements

Testing

To test roobot locally:

git clone git@github.com:gratipay/roobot.git && cd roobot
npm install
bin/hubot -n roobot

Contributing

roobot is composed of a core (hubot) and a set of scripts. The configuration is done through environment variables.

Scripts come for three sources:

Take a look at the Scripting Guide if you want to write a new script.

Deploying

git remote add heroku git@heroku.com:roobot-test.git
git remote add heroku-prod git@heroku.com:roobot-prod.git

# Deploy to the test channel
git push heroku

# Confirm the bot is working in #gratipay-test
# Take a look at the logs if there is a problem:
# heroku -a roobot-test logs -t

# If all is well deploy to the prod channel (i.e. #gratipay)
git push heroku-prod

Restarting the bot

You may want to get comfortable with heroku logs and heroku restart if you're having issues.