Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
README: Minor edits to the configuration section for clarity. (#56)
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Willison <[email protected]>
  • Loading branch information
alexmv and simonw authored Mar 7, 2021
1 parent bf54c9f commit 9c2a12f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,12 @@ You'll also neet to run this command once or your static assets will 404:

## Configuration

Running this requires environment variables. Create a file like this named `.env`, which is loaded by Django:
Running this requires some secrets in environment variables:

- `SOCIAL_AUTH_AUTH0_SECRET` can be found in the [Auth0 application configuration page](https://manage.auth0.com/dashboard/us/vaccinateca/applications/7JMM4bb1eC7taGN1OlaLBIXJN1w42vac/settings).
- `DJANGO_SECRET_KEY` can be any random string. One way to generate one is via `python -c "import secrets; print(secrets.token_urlsafe())"`

Create a file like this named `.env`, which is loaded by Django:

SOCIAL_AUTH_AUTH0_SECRET="secret from the auth0 dashboard"
DJANGO_SECRET_KEY="just a big random string"
Expand Down

0 comments on commit 9c2a12f

Please sign in to comment.