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

testing locally

Thomas Deinhamer edited this page Jun 14, 2014 · 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 HUBOT_GITHUB_TOKEN=werwerwr2344 bin/hubot -a shell

You'd need to move the "real" brain out of the way if you are to run locally. 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 pony

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

Clone this wiki locally