mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 11:34:00 +03:00
Set .herokuapp.com as allowed host on heroku
This commit is contained in:
parent
1571b91dad
commit
b047191709
|
@ -220,6 +220,7 @@ Run these commands to deploy the project to Heroku:
|
||||||
|
|
||||||
heroku config:set DJANGO_SECRET_KEY=`openssl rand -base64 32`
|
heroku config:set DJANGO_SECRET_KEY=`openssl rand -base64 32`
|
||||||
heroku config:set DJANGO_SETTINGS_MODULE='config.settings.production'
|
heroku config:set DJANGO_SETTINGS_MODULE='config.settings.production'
|
||||||
|
heroku config:set DJANGO_ALLOWED_HOSTS='.herokuapp.com'
|
||||||
|
|
||||||
heroku config:set DJANGO_AWS_ACCESS_KEY_ID=YOUR_AWS_ID_HERE
|
heroku config:set DJANGO_AWS_ACCESS_KEY_ID=YOUR_AWS_ID_HERE
|
||||||
heroku config:set DJANGO_AWS_SECRET_ACCESS_KEY=YOUR_AWS_SECRET_ACCESS_KEY_HERE
|
heroku config:set DJANGO_AWS_SECRET_ACCESS_KEY=YOUR_AWS_SECRET_ACCESS_KEY_HERE
|
||||||
|
|
Loading…
Reference in New Issue
Block a user