Install Node.js and clone this repo somewhere. Install the dependencies with:
npm install
You can optionally install/run Redis (brew install redis
is the easiest way on a Mac) in order to retain state between restarts.
To run FEDbot in your own Campfire, set up a free account and install Foreman. Run the following to copy the sample environment file:
cp .env.sample .env
Now fill out your .env
file based on this guide.
Lastly, to start FEDbot and bring him into your Campfire room, run the following:
foreman start
Now you can chat to FEDbot in Campfire.
To run FEDbot locally:
bin/fedbot
This will let you chat to FEDbot by yourself on the command line. If you get EADDRINUSE
errors, you may need to change the port FEDbot uses (default is 8080). Try this:
PORT=3000 bin/fedbot
If you want to write new scripts, read the Hubot documentation.