Added NEW_RELIC_APP_NAME env var for app.json

When using the one-click deployment to Heroku the building process fails if the app uses NewRelic.
This commit is contained in:
Julian Andres Cantillo 2016-02-18 15:21:47 -05:00
parent 6cd4ab6e81
commit 6ef60301d1

View File

@ -22,6 +22,7 @@
"DJANGO_MAILGUN_SERVER_NAME": "", "DJANGO_MAILGUN_SERVER_NAME": "",
{% if cookiecutter.use_newrelic == "y" -%} {% if cookiecutter.use_newrelic == "y" -%}
"NEW_RELIC_LICENSE_KEY": "", "NEW_RELIC_LICENSE_KEY": "",
"NEW_RELIC_APP_NAME": "",
{%- endif %} {%- endif %}
"DJANGO_MAILGUN_API_KEY": ""{% if cookiecutter.use_sentry == "y" -%}, "DJANGO_MAILGUN_API_KEY": ""{% if cookiecutter.use_sentry == "y" -%},
"DJANGO_SENTRY_DSN": ""{%- endif %} "DJANGO_SENTRY_DSN": ""{%- endif %}