mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-29 13:04:05 +03:00
Update deployment-on-heroku.rst (#684)
This commit is contained in:
parent
34631ad819
commit
ca86da88c0
|
@ -16,8 +16,8 @@ You can either push the 'deploy' button in your generated README.rst or run thes
|
||||||
heroku addons:create heroku-redis:hobby-dev
|
heroku addons:create heroku-redis:hobby-dev
|
||||||
heroku addons:create mailgun
|
heroku addons:create mailgun
|
||||||
|
|
||||||
heroku config:set DJANGO_ADMIN_URL=`openssl rand -base64 32`
|
heroku config:set DJANGO_ADMIN_URL="$(openssl rand -base64 32)"
|
||||||
heroku config:set DJANGO_SECRET_KEY=`openssl rand -base64 64`
|
heroku config:set DJANGO_SECRET_KEY="$(openssl rand -base64 64)"
|
||||||
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_ALLOWED_HOSTS='.herokuapp.com'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user