Skip to content

Commit

Permalink
update readme for heroku version to use hubot -c
Browse files Browse the repository at this point in the history
I'm assuming hubot -c is desired since that's the only
way the scripts/ reference makes sense
  • Loading branch information
cldwalker committed Oct 29, 2011
1 parent 0d20986 commit 78cf56e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/templates/README.md
Expand Up @@ -8,9 +8,17 @@ This version is designed to be deployed on heroku.
Playing with Hubot
==================

You'll need to install the necessary dependencies for hubot. All of
First, create your own hubot, nubot.

% npm install
% PATH="node_modules/.bin:$PATH" bin/hubot -c nubot
Creating a hubot install at nubot

You'll need to install the necessary dependencies for nubot. All of
those dependencies are provided by [npm](http://npmjs.org).

% cd nubot
% npm install
% bin/hubot

You'll see some startup output about where your scripts come from.
Expand Down Expand Up @@ -68,7 +76,7 @@ Create a separate user for your bot and get their token from the web UI.
% heroku config:add HUBOT_CAMPFIRE_TOKEN="..."

Get the numeric ids of the rooms you want the bot to join, comma
delimited. If you want the bot to connect to `https://mysubdomain.campfirenow.com/room/42`
delimited. If you want the bot to connect to `https://mysubdomain.campfirenow.com/room/42`
and `https://mysubdomain.campfirenow.com/room/1024` then you'd add it like this:

% heroku config:add HUBOT_CAMPFIRE_ROOMS="42,1024"
Expand Down

0 comments on commit 78cf56e

Please sign in to comment.