Created
October 9, 2012 18:57
-
-
Save mattfinlayson/3860715 to your computer and use it in GitHub Desktop.
Hubot local setup with XMPP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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