Skip to content

perryharlock/fedbot

Repository files navigation

FEDbot

The FED's campfire friend.
Codeship Status

FEDbot

Setup

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.

Running In Your Own Campfire

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.

Running Locally

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

Scripting

If you want to write new scripts, read the Hubot documentation.

About

The Nature FEDs campfire friend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors