This is the Nurph adapter for Hubot.
- Add
hubot-nurph
as a dependency in your hubot'spackage.json
- Install dependencies with
npm install
- Run hubot with `bin/hubot -a nurph
You will need to change the process type from app
to web
in the Procfile
.
You will need to set some environment variables to use this adapter.
% heroku config:add HUBOT_NURPH_KEY="key"
% heroku config:add HUBOT_NURPH_TOKEN="token"
% heroku config:add HUBOT_NURPH_USER_ID="id"
% heroku config:add HUBOT_NURPH_USER_NAME="name"
% heroku config:add HUBOT_NURPH_USER_AVATAR="url"
% heroku config:add HUBOT_NURPH_CHANNELS="channel1, channel2"
% export HUBOT_NURPH_KEY="key"
% export HUBOT_NURPH_TOKEN="token"
% export HUBOT_NURPH_USER_ID="id"
% export HUBOT_NURPH_USER_NAME="name"
% export HUBOT_NURPH_USER_AVATAR="url"
% export HUBOT_NURPH_CHANNELS="channel1, channel2"
Here's the most direct way to get your work merged into the project.
- Fork the project
- Clone down your fork
- Create a feature branch
- Hack away and add tests, not necessarily in that order
- Make sure everything still passes by running tests
- If necessary, rebase your commits into logical chunks without errors
- Push the branch up to your fork
- Send a pull request for your branch
Copyright © Neil Cauldwell. See LICENSE for details.