From 4f2fa90da424f326d2b8e3758c41439554cc829f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Do=C4=9Fa=C3=A7=20Eldenk?= Date: Tue, 2 Jan 2024 03:54:24 -0600 Subject: [PATCH] fix: `env` variable instructions on locally-api.md (#3223) --- docs/docs/deployment/hosting/locally-api.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docs/deployment/hosting/locally-api.md b/docs/docs/deployment/hosting/locally-api.md index 9915f9a23ae6..2baac44c85b2 100644 --- a/docs/docs/deployment/hosting/locally-api.md +++ b/docs/docs/deployment/hosting/locally-api.md @@ -178,7 +178,8 @@ the below variables will be ignored. #### Application Environment Variables -- `ENV`: string representing the current running environment, e.g. 'local', 'dev', 'prod'. Defaults to 'local' +- `ENVIRONMENT`: string representing the current running environment, such as "local", "dev", "staging" or "production". + Defaults to 'local' - `DJANGO_SECRET_KEY`: secret key required by Django, if one isn't provided one will be created using `django.core.management.utils.get_random_secret_key`. WARNING: If running multiple API instances, its vital that you define a shared DJANGO_SECRET_KEY.