Skip to content

Commit

Permalink
Merge pull request #20 from bitoiu/master
Browse files Browse the repository at this point in the history
Updates the README.md instructions
  • Loading branch information
johnsheehan committed Jul 16, 2015
2 parents d3f41e3 + 8fbd39c commit a3d4489
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,13 @@ Find your redistogo connection details

`$ heroku config --app {app_name} | grep REDISTOGO_URL`

Modify line 19 of config/heroku.conf.py on redis details
Open `requestbin/config.py` and locate variables `REDIS_URL` and `REDIS_PORT`. Edit them with the connection details you got in the previous step:

`redis_url = urlparse.urlparse(os.environ.get("REDIS_URL", "redis://REDISTOGO_URL:REDISTOGO_PORT/0"))`
```python
REDIS_URL = "REDISTOGO_URL"
REDIS_HOST = "localhost"
REDIS_PORT = REDISTOGO_PORT
```

Now just deploy via git:

Expand All @@ -42,4 +46,4 @@ It will push to Heroku and give you a URL that your own private RequestBin will
Contributors
------------
* Barry Carlyon <[email protected]>
* Jeff Lindsay <[email protected]>
* Jeff Lindsay <[email protected]>

0 comments on commit a3d4489

Please sign in to comment.