1.0.0 • Published 11 years ago
hubot-offthegrid v1.0.0
hubot-offthegrid 
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
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

Then supply that location name to 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.

Heroku
% heroku config:add HUBOT_OFF_THE_GRID_LOCATION_ID="38"Non-Heroku environment variables
% export HUBOT_OFF_THE_GRID_LOCATION_ID="38"Installation
- Edit
package.jsonand addhubot-offthegridas a dependency. - Add
"hubot-offthegrid"to yourexternal-scripts.jsonfile. npm install- Reboot Hubot.
- Get hungry.