Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.

testing locally

Henrik Feldt edited this page May 15, 2013 · 4 revisions

In order to test locally, in your packaged hubot folder (the one you'd deploy):

mv scripts/mongo-brain.coffee .
env HUBOT_GITHUB_USER=myuser HUBIT_GITHUB_TOKEN=werwerwr2344 bin/hubot -a shell

Note the usage of the env executable to set environment variables that the hubot script executes with.

Now you can do things like:

hubot: image me mexican

To get an image of a mexican. Try your scripts out. GL HF.

Clone this wiki locally