Copy&Waste

Posts tagged "campfire"

Installing Hubot as a Campfire bot on Ubuntu 10.04.2

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:chris-lea/node.js

sudo apt-get update
sudo apt-get install nodejs nodejs-dev redis-server

#check to see if node installed
node -v


#install npm
curl http://npmjs.org/install.sh | sudo sh

#verify npm install
npm -v


cd /tmp

git clone https://github.com/github/hubot.git
cd hubot
npm install
sudo npm install -g coffee-script 
make test


sudo cp -R /tmp/hubot /etc/.


export PATH="/etc/hubot/bin:$PATH"
export HUBOT_CAMPFIRE_TOKEN="<YOUR_BOTS_CAMPFIRE_API_TOKEN>"
export HUBOT_CAMPFIRE_ROOMS="<YOUR_CAMPFIRE_ROOM_NUMBER>"
export HUBOT_CAMPFIRE_ACCOUNT="<YOUR_CAMPFIRE_SUBDOMAIN>"


hubot -a campfire -n <YOUR_BOTS_CAMPFIRE_ACCOUNT_NAME> &
Tagged as campfire , hubot ubuntu
Written by Andrew Konkol on January 6th, 2012 | 0 Comments
Copyright © 2013 Andrew Konkol | Contact | Feeds