Skip to content

Instantly share code, notes, and snippets.

@abhshkdz
Created August 11, 2012 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save abhshkdz/3325927 to your computer and use it in GitHub Desktop.
Save abhshkdz/3325927 to your computer and use it in GitHub Desktop.
Building up Hubot on Gtalk (deployed on Heroku)
wget https://github.com/downloads/github/hubot/hubot-2.2.0.tar.gz
tar zxvf hubot-*.tar.gz
cd hubot/
vim Procfile
app: bin/hubot -a gtalk -n Hubot
vim package.json
{
"name": "hosted-hubot",
"version": "2.2.0",
"author": "GitHub Inc.",
"keywords": "github hubot campfire bot",
"description": "A simple helpful Robot for your Company",
"licenses": [{
"type": "MIT",
"url": "http://github.com/github/hubot/raw/master/LICENSE"
}],
"repository" : {
"type" : "git",
"url" : "http://github.com/github/hubot.git"
},
"dependencies": {
"hubot-gtalk": ">= 0.0.1",
"hubot": ">= 2.2.0",
"hubot-scripts": ">=2.0.8",
"optparse": ">= 1.0.3"
},
"engines": {
"node": "0.6.x",
"npm": "1.0.x"
}
}
git init
git add .
git commit -m "initial commit"
heroku create --stack cedar
git push heroku master
heroku ps:scale app=1
heroku addons:add redistogo:nano //Requires verified Heroku account
heroku config:add HUBOT_GTALK_USERNAME="example@domain.com" HUBOT_GTALK_PASSWORD="account password"
heroku ps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment