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> &
0 Comments
Log in with Twitter, Google, Facebook, LinkedIn to leave a comment.