progrium/requestbin — pull request #13 by rjocoleman (2013-05-22 02:40:52+00:00)
Title: Support for REDIS_URL environment variable

Added in a basic `urlparse` to populate `redis_init` in `heroku.conf.py`.

I've only tested this with OpenRedis but it should work for any Redis URL per what appears to be a standard format: `redis://:@:/`

It reads from the ENV `REDIS_URL`, defaulting to the existing values.

I made the Heroku configuration variable deliberately generic:

```bash
$ heroku config:set REDIS_URL=`heroku config:get OPENREDIS_URL`
```