Add convenience .env-example to get started faster and help onboardees feel confident that they are adding the right env variables

This commit is contained in:
brandonlenz 2023-05-05 11:07:28 -04:00
parent 333b3c710a
commit 17f60813dc
No known key found for this signature in database
GPG key ID: FC8818009789E370
2 changed files with 10 additions and 1 deletions

View file

@ -32,7 +32,14 @@ Secrets (for example, if you'd like to have a working Login.gov authentication)
DJANGO_SECRET_LOGIN_KEY="<...>"
```
You'll need to create the `.env` file yourself. Get the secrets from Cloud.gov by running `cf env getgov-YOURSANDBOX`. More information is available in [rotate_application_secrets.md](../operations/runbooks/rotate_application_secrets.md).
You'll need to create the `.env` file yourself. Get started by running:
```shell
cd src
cp ./.env-example .env
```
Get the secrets from Cloud.gov by running `cf env getgov-YOURSANDBOX`. More information is available in [rotate_application_secrets.md](../operations/runbooks/rotate_application_secrets.md).
## Viewing Logs

2
src/.env-example Normal file
View file

@ -0,0 +1,2 @@
DJANGO_SECRET_KEY=""
DJANGO_SECRET_LOGIN_KEY=""