Derived from the ubiquitous NPR tote bag, Totebot2 follows our conversations on HipChat and provides us with some ambient awareness. Also, humor.
Additional thanks to the Los Angeles Times Data Desk and their copyboy project.
-
Create a new HipChat account for your bot to use. Stay signed in to the account - we'll need to access its account settings later.
-
Make sure native dependencies are installed:
(e.g. OS X with brew) % brew install icu4c % brew link icu4c (e.g. Linux with apt-get) % apt-get install libexpat1-dev % apt-get install libicu-dev
-
Install
hubot
from npm, if you don't already have it:% npm install --global hubot
-
Switch to the new
hubot
directory:% cd <above path>
-
Install
hubot
dependencies:% npm install
-
Export the proper environment variables. Talk to Jeremy or Chris about these values.
export [email protected]
export HUBOT_HIPCHAT_PASSWORD=password
export [email protected]
export HUBOT_LOG_LEVEL=debug
- Make sure you've exported prefixed versions of our environment variables like so:
export [email protected]
export TOTEBOT2_HUBOT_HIPCHAT_PASSWORD=password
export [email protected]
export TOTEBOT2_HUBOT_LOG_LEVEL=debug
- Add your new scripts to the repository and send them along.
fab production master deploy
We don't have a staging environment yet.