Skip to content

Commit f95ef4f

Browse files
authored
Update Heroku deployment guide (cookiecutter#5656)
* Remove setting of `PYTHONHASHSEED` env var, since it's defaulted to `random` since Python 3.3. See: https://docs.python.org/3.13/whatsnew/3.3.html#builtin-functions-and-types * Remove setting of `WEB_CONCURRENCY` env var to a hardcoded value, since on Heroku the Python buildpack dynamically sets the value at container boot based on the available CPUs, so it's best to not override the default with a value that might not match the size of the dyno. See: https://devcenter.heroku.com/articles/python-concurrency#default-settings-and-behavior
1 parent b5b24db commit f95ef4f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

docs/3-deployment/deployment-on-heroku.rst

-4
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ Run these commands to deploy the project to Heroku:
2525
# Assuming you chose Mailgun as mail service (see below for others)
2626
heroku addons:create mailgun:starter
2727
28-
heroku config:set PYTHONHASHSEED=random
29-
30-
heroku config:set WEB_CONCURRENCY=4
31-
3228
heroku config:set DJANGO_DEBUG=False
3329
heroku config:set DJANGO_SETTINGS_MODULE=config.settings.production
3430
heroku config:set DJANGO_SECRET_KEY="$(openssl rand -base64 64)"

0 commit comments

Comments
 (0)