Update Heroku documentation

This commit is contained in:
RunasSudo 2017-11-28 14:44:49 +11:00
parent 9bc81103bc
commit f9a07fa9f0
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
1 changed files with 8 additions and 1 deletions

View File

@ -36,6 +36,10 @@ Access Eos at http://localhost:5000/.
Add a MongoDB (recommended) or PostgreSQL resource to your Heroku app. Add a MongoDB (recommended) or PostgreSQL resource to your Heroku app.
Set up the Heroku app.
heroku git:remote -a your-app-12345
Create *local_settings.py*. Create *local_settings.py*.
cd /path/to/Eos cd /path/to/Eos
@ -43,9 +47,12 @@ Create *local_settings.py*.
Modify *local_settings.py* as required. Take special note of `BASE_URI` and the database information. Modify *local_settings.py* as required. Take special note of `BASE_URI` and the database information.
Set environment variables.
heroku config:set EOSWEB_SETTINGS=/app/local_settings.py
Push the changes to the Heroku app. Push the changes to the Heroku app.
heroku git:remote -a your-app-12345
git add . git add .
git commit -m 'For Heroku' git commit -m 'For Heroku'
git push heroku master git push heroku master