diff --git a/.env.example b/.env.example index dc91ac99..9c733714 100644 --- a/.env.example +++ b/.env.example @@ -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 diff --git a/README.md b/README.md index 28e6219c..b93aa832 100644 --- a/README.md +++ b/README.md @@ -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.