Skip to content

Instantly share code, notes, and snippets.

@mattfinlayson
Created October 9, 2012 18:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattfinlayson/3860715 to your computer and use it in GitHub Desktop.
Save mattfinlayson/3860715 to your computer and use it in GitHub Desktop.
Hubot local setup with XMPP
# Using node.js and npm build from http://nodejs.tchol.org
#
sudo yum install http://nodejs.tchol.org/repocfg/el/nodejs-stable-release.noarch.rpm
sudo yum install nodejs-compat-symlinks npm
sudo npm install -g coffee-script
cd /opt
git clone git://github.com/github/hubot.git && cd hubot
npm install
cd /opt
git clone git://github.com/markstory/hubot-xmpp.git && cd hubot-xmpp
npm install
export HUBOT_XMPP_USERNAME=XXXXX
export HUBOT_XMPP_PASSWORD=XXXXX
export HUBOT_XMPP_ROOMS=XXXXX
export HUBOT_XMPP_HOST=XXXXX
export HUBOT_XMPP_PORT=XXXXX
cd /opt/hubot && bin/hubot -c ../cloudbot
cd /opt/cloudbot
chmod a+x bin/hubot
vi package.json
# Add the following to the dependencies section
"hubot-xmpp": "0.1.0"
cd /opt/cloudbot/scripts
wget https://raw.github.com/github/hubot-scripts/master/src/scripts/jira-issues.coffee
bin/hubot -a xmpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment