2015-09-03 21:52:59 +03:00
|
|
|
{
|
2016-04-20 20:00:35 +03:00
|
|
|
"name": "{{cookiecutter.project_slug}}",
|
2015-09-03 21:52:59 +03:00
|
|
|
"description": "{{cookiecutter.description}}",
|
|
|
|
"env": {
|
|
|
|
"BUILDPACK_URL": "https://github.com/heroku/heroku-buildpack-python",
|
|
|
|
"DJANGO_SETTINGS_MODULE": "config.settings.production",
|
|
|
|
"DJANGO_SECRET_KEY": {
|
|
|
|
"description": "A secret key for verifying the integrity of signed cookies.",
|
|
|
|
"generator": "secret"
|
|
|
|
},
|
|
|
|
"DJANGO_ALLOWED_HOSTS": {
|
|
|
|
"description": "Comma-separated list of hosts",
|
|
|
|
"value": ".herokuapp.com"
|
|
|
|
},
|
2015-10-04 01:01:35 +03:00
|
|
|
"DJANGO_ADMIN_URL": {
|
|
|
|
"description": "A secret URL for the Django admin",
|
|
|
|
"generator": "secret"
|
|
|
|
},
|
2015-09-03 21:52:59 +03:00
|
|
|
"DJANGO_AWS_ACCESS_KEY_ID": "",
|
|
|
|
"DJANGO_AWS_SECRET_ACCESS_KEY": "",
|
|
|
|
"DJANGO_AWS_STORAGE_BUCKET_NAME": "",
|
|
|
|
"DJANGO_MAILGUN_SERVER_NAME": "",
|
2016-06-05 20:47:07 +03:00
|
|
|
"DJANGO_MAILGUN_API_KEY": ""{% if cookiecutter.use_sentry_for_error_reporting == "y" -%},
|
|
|
|
"DJANGO_SENTRY_DSN": ""{%- endif %}
|
2015-09-03 21:52:59 +03:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"postdeploy": "python manage.py migrate"
|
|
|
|
},
|
|
|
|
"addons": [
|
2016-08-10 18:31:48 +03:00
|
|
|
{
|
|
|
|
"plan": "heroku-postgresql:hobby-dev",
|
|
|
|
"options": {
|
|
|
|
"version": "{{ cookiecutter.postgresql_version }}"
|
|
|
|
}
|
|
|
|
},
|
2015-09-03 21:52:59 +03:00
|
|
|
"heroku-redis:hobby-dev",
|
|
|
|
"mailgun"
|
|
|
|
]
|
|
|
|
}
|