Skip to content

Commit

Permalink
Update heroku instructions to accurately reflect current app behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Stauter committed Jun 25, 2015
1 parent d3f41e3 commit 5f3fbe0
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,13 @@ From the project directory, create a Heroku application:

`$ heroku create`

Add Heroku's addon for redistogo
Add Heroku's redis addon:

`$ heroku addons:add redistogo:nano --app {app_name}`
`$ heroku addons:add heroku-redis`

Find your redistogo connection details
Set an environment variable to indicate production:

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

Modify line 19 of config/heroku.conf.py on redis details

`redis_url = urlparse.urlparse(os.environ.get("REDIS_URL", "redis://REDISTOGO_URL:REDISTOGO_PORT/0"))`
`$ heroku config:set REALM=prod`

Now just deploy via git:

Expand All @@ -42,4 +38,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 5f3fbe0

Please sign in to comment.