isabella232 / roobot

(deprecated) A Hubot instance for the #gratipay IRC channel.

Home Page:http://inside.gratipay.com/chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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. gratipay/inside.gratipay.com#834

Requirements

  • install NPM
  • install Redis, hubot's brain. (Installing via homebrew is recommended on OSX.)

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:

  • the hubot-scripts.json file, it adds scripts from the official hubot-scripts repository
  • the external-scripts.json file, it adds scripts from standalone repositories (e.g. hubot-seen)
  • the scripts directories, it contains our own custom scripts

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.

About

(deprecated) A Hubot instance for the #gratipay IRC channel.

http://inside.gratipay.com/chat


Languages

Language:CoffeeScript 97.9%Language:Shell 1.5%Language:Batchfile 0.7%