Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,23 @@ Broadcast presence on HipChat to Olark, receive messages from Olark on HipChat
$ source venv/bin/activate
$ pip install -r requirements.txt

### Run tests

### Config

Copy src/config-example.py to src/config.py
In the virtualenv environment, use nose to discover and run tests:

$ cp src/config-example.py src/config.py
$ pip install nose
$ nosetests

Create your HipChat API Token (https://hipchat.com/admin/api) with an admin type

Set it in src/config.py (HIPCHAT_TOKEN)
### Config

Change the room name where to send Olark messages (HIPCHAT_ROOMNAME)
Configure environment variables listed in src/config.py.

Change the Olark username and password (OLARK_USERNAME, OLARK_PASSWORD)
* Create a v1 HipChat API Token (https://hipchat.com/admin/api) with an admin type
* Set it in src/config.py (`HIPCHAT_TOKEN`)
* Change the room name where to send Olark messages (`HIPCHAT_ROOMNAME`)
* Change the Olark username and password (`OLARK_USERNAME`, `OLARK_PASSWORD`)

If you deploy on Heroku, installation is automatic, and you only need to scale to a single Worker to start.

### Execute

Expand Down