mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-29 15:53:31 +02:00
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:
parent
333b3c710a
commit
17f60813dc
2 changed files with 10 additions and 1 deletions
|
@ -32,7 +32,14 @@ Secrets (for example, if you'd like to have a working Login.gov authentication)
|
||||||
DJANGO_SECRET_LOGIN_KEY="<...>"
|
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
|
## Viewing Logs
|
||||||
|
|
||||||
|
|
2
src/.env-example
Normal file
2
src/.env-example
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
DJANGO_SECRET_KEY=""
|
||||||
|
DJANGO_SECRET_LOGIN_KEY=""
|
Loading…
Add table
Add a link
Reference in a new issue