Skip to content

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

Remove Heroku as suggested method of deployment (#13238)

Patryk Zawadzki13f12dbd99ce
diff --git a/.gitignore b/.gitignore
index 0bec28a7a4..25ae4db810 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,7 +4,6 @@
!.dockerignore
!.github
!.gitignore
-!.nvmrc
!.pylintrc
!.vscode
*.log
diff --git a/.nvmrc b/.nvmrc
deleted file mode 100644
index 95abd2ac49..0000000000
--- a/.nvmrc
+++ /dev/null
@@ -1 +0,0 @@
-10.15.2
diff --git a/Procfile b/Procfile
deleted file mode 100644
index 5f00a390b7..0000000000
--- a/Procfile
+++ /dev/null
@@ -1,3 +0,0 @@
-release: python manage.py migrate --no-input
-web: gunicorn --bind :$PORT --workers 4 --worker-class saleor.asgi.gunicorn_worker.UvicornWorker saleor.asgi:application
-celeryworker: celery -A saleor --app=saleor.celeryconf:app worker --loglevel=info -E --concurrency ${CELERY_CONCURRENCY:-2}
diff --git a/README.md b/README.md
index 595588955e..390244b1eb 100644
--- a/README.md
+++ b/README.md
@@ -146,10 +146,6 @@ Want to see Saleor in action?
* [View React Storefront](https://demo.saleor.io/)
* [View Dashboard (admin area)](https://demo.saleor.io/dashboard/)
-Or launch the demo on a Heroku instance.
-
-[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
-
Login credentials: `[email protected]`/`admin`
## Contributing
diff --git a/app.json b/app.json
deleted file mode 100644
index 1b465cef6d..0000000000
--- a/app.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "name": "saleor",
- "description": "An e-commerce storefront for Python and Django",
- "repository": "https://github.com/saleor/saleor",
- "website": "https://saleor.io/",
- "logo": "https://mirumee.com/img/opensource_saleor.jpg",
- "keywords": [
- "saleor",
- "e-commerce",
- "django"
- ],
- "image": "heroku/python",
- "env": {
- "DJANGO_SETTINGS_MODULE": "saleor.settings",
- "DEBUG": "True",
- "NPM_CONFIG_PRODUCTION": "false",
- "ALLOWED_HOSTS": {
- "description": "Comma-separated list of hosts",
- "value": ".herokuapp.com"
- },
- "DEFAULT_FROM_EMAIL": "[email protected]",
- "SECRET_KEY": {
- "description": "A secret key for verifying the integrity of signed cookies.",
- "generator": "secret"
- },
- "AWS_MEDIA_BUCKET_NAME": {
- "description": "If you intend to upload your own product images, we strongly recommend configure S3.",
- "value": "",
- "required": false
- },
- "AWS_ACCESS_KEY_ID": {
- "description": "",
- "value": "",
- "required": false
- },
- "AWS_SECRET_ACCESS_KEY": {
- "description": "",
- "value": "",
- "required": false
- },
- "ENABLE_ACCOUNT_CONFIRMATION_BY_EMAIL": "False"
- },
- "scripts": {
- "postdeploy": "python manage.py migrate && python manage.py populatedb --createsuperuser --withoutimages"
- },
- "addons": [
- "heroku-postgresql:mini",
- "heroku-redis:mini",
- "cloudamqp:lemur",
- "sendgrid:starter",
- "scheduler:standard"
- ],
- "buildpacks": [
- {
- "url": "https://github.com/heroku/heroku-buildpack-python.git"
- }
- ],
- "success_url": "/"
-}
diff --git a/runtime.txt b/runtime.txt
deleted file mode 100644
index be7826772b..0000000000
--- a/runtime.txt
+++ /dev/null
@@ -1 +0,0 @@
-python-3.9.14