Skip to content

Commit

Permalink
Update readme with .env variable details.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchdawson1982 committed Jan 26, 2024
1 parent b63bf2b commit 7a28642
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Django Development Variables
DEBUG=1
SECRET_KEY=foo
DJANGO_ALLOWED_HOSTS=localhost 127.0.0.1 [::1] .service.justice.gov.uk
DJANGO_ALLOWED_HOSTS=localhost 127.0.0.1 [::1]

# Catalogue Variables
CATALOGUE_TOKEN=mycatalogtoken
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
You will need npm (for javascript dependencies) and poetry (for python dependencies).

1. Run `poetry install` to install python dependencies
2. Set environment variables CATALOGUE_URL and CATALOGUE_TOKEN (TODO: add dotenv support)
2. There is support for using `.env` file to hold local environment variables. Refer to `.env.example` for examples.
3. Run `poetry run python manage.py runserver`

Run `npm install` and then `npm run sass` to compile the stylesheets.
Expand Down

0 comments on commit 7a28642

Please sign in to comment.