This is a Hubot adapter for Pim.
- Register a new Pim account for your Hubot
- Obtain your own Hubot and extract it somewhere
- Edit
Procfile
:- change
campfire
topim
- change
-n Hubot
to-n [Hubot's username]
- change
- Edit
package.json
- add"hubot-pim":">=0.1.0",
to the dependencies - Run
npm install
to install the dependencies. - Create the file
config.json
(see below) - Run
bin/hubot -a pim -n [Hubot's username]
Enjoy your increased (or decreased) productivity!
First you need to get your Hubot's token. Currently the easiest way to do this is by logging in as Hubot via your web browser and then pasting the following into your URL bar and pressing enter:
javascript:alert(P.user.get('token'))
Then create config.json
:
{ "token": "[token from JavaScript alert]" }
Tokens are (currently) of the format 00000000-0000-0000-0000-000000000000