Skip to content

Everything is better in the new building, even the totebot.

Notifications You must be signed in to change notification settings

DigitalLogistics/totebot2

 
 

Repository files navigation

Totebot

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.

Some light reading

Local development

  1. 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.

  2. 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
    
  3. Install hubot from npm, if you don't already have it:

     % npm install --global hubot
    
  4. Switch to the new hubot directory:

     % cd <above path>
    
  5. Install hubot dependencies:

     % npm install
    
  6. 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

Deployment

  1. 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
  1. Add your new scripts to the repository and send them along.
fab production master deploy

We don't have a staging environment yet.

About

Everything is better in the new building, even the totebot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published