forked from jpf/requestbin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update heroku instructions to accurately reflect current app behavior
- Loading branch information
Joshua Stauter
committed
Jun 25, 2015
1 parent
d3f41e3
commit 5f3fbe0
Showing
1 changed file
with
5 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
||
|
@@ -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]> |