Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Update Heroku config

Marcin Gębalac79da02ceb10
diff --git a/app.json b/app.json
index a93fe25b48..47e48f180f 100644
--- a/app.json
+++ b/app.json
@@ -12,8 +12,7 @@
"image": "heroku/python",
"env": {
"DJANGO_SETTINGS_MODULE": "saleor.settings",
- "NODE_ENV": "production",
- "DEBUG": "False",
+ "DEBUG": "True",
"NPM_CONFIG_PRODUCTION": "false",
"ALLOWED_HOSTS": {
"description": "Comma-separated list of hosts",
@@ -52,9 +51,6 @@
"scheduler:standard"
],
"buildpacks": [
- {
- "url": "https://github.com/heroku/heroku-buildpack-nodejs.git"
- },
{
"url": "https://github.com/heroku/heroku-buildpack-python.git"
}
diff --git a/package.json b/package.json
index ee13aa7ac6..41a3fd3612 100644
--- a/package.json
+++ b/package.json
@@ -17,7 +17,6 @@
},
"scripts": {
"build-schema": "python manage.py get_graphql_schema > saleor/graphql/schema.graphql",
- "heroku-postbuild": "npm run build-emails",
"build-emails": "mjml --config.beautify false -l skip \"templates/templated_email/source/*.mjml\" -o templates/templated_email/compiled"
}
}