GithubHelp home page GithubHelp logo

ryanpitts / totebot2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nprapps/totebot2

0.0 2.0 0.0 2.04 MB

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

Python 2.96% Shell 0.49% CoffeeScript 96.54%

totebot2's Introduction

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.

totebot2's People

Contributors

alykat avatar dannydb avatar jeremyjbowers avatar newsroomdev avatar ryanpitts avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.