Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

erunion/hubot-offthegrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hubot-offthegrid NPM version

The ultimate Off the Grid Hubot companion.

Usage

hubot offthegrid list - Pulls a list of all Off the Grid locations
hubot offthegrid <location name> - Pulls today's hours and vendors for a given location
hubot offthegrid - Pulls today's hours and vendors for the configured location

hubot offthegrid

Configuration

If you don't want to supply a location to hubot offthegrid every time, you can set up a default location. To do this, you'll need to get the name of the location you want to default to via hubot offthegrid list

hubot offthegrid list

Then supply that location name to hubot offthegrid id.

hubot offthegrid id

Once you have that internal ID, set it to the HUBOT_OFF_THE_GRID_LOCATION_ID environment variable, and the you can use hubot offthegrid without passing in a location.

hubot offthegrid shorthand

Heroku
% heroku config:add HUBOT_OFF_THE_GRID_LOCATION_ID="38"
Non-Heroku environment variables
% export HUBOT_OFF_THE_GRID_LOCATION_ID="38"

Installation

  1. Edit package.json and add hubot-offthegrid as a dependency.
  2. Add "hubot-offthegrid" to your external-scripts.json file.
  3. npm install
  4. Reboot Hubot.
  5. Get hungry.

About

The ultimate Off the Grid Hubot companion.

Resources

License

Stars

Watchers

Forks

Packages

No packages published