Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Update readmes with three fixes #106

Closed
wants to merge 3 commits into
from
View
@@ -12,7 +12,8 @@ Make sure you have [node.js](http://nodejs.org/) and [npm](http://npmjs.org/) in
Download the [latest version of hubot](https://github.com/github/hubot/downloads).
-Then follow the instructions in the README in the `hubot` directory.
+Then follow the instructions in the
+[README](https://github.com/github/hubot/blob/master/src/templates/README.md#readme).
## Scripts
@@ -28,7 +29,7 @@ Install all of the required dependencies by running `npm install`.
It's easy to test scripts locally with an interactive shell:
- % bin/hubot
+ % PATH="node_modules/.bin:$PATH" bin/hubot
...and to run tests:
View
@@ -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
@atmos

atmos Oct 29, 2011

Contributor

This is too much for the tagged releases. All of this should be wrapped up in bin/hubot. People shouldn't be using bin/hubot -c.

+ 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.
@@ -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"