Fix readme reference to local.py.example

pull/44/head
Scot Hacker 2017-02-16 00:04:19 -08:00
rodzic f8b099b902
commit aae64c9d6a
1 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -54,10 +54,9 @@ With PIP installed run the following commands:
pip install -r requirements.txt
Next, we'll set up our local environment variables. We use [django-dotenv](https://github.com/jpadilla/django-dotenv)
to help with this. It reads environment variables located in a file name .env in the top level directory of the project.
The only variable we need to start is `DJANGO_SETTINGS_MODULE`:
to help with this. It reads environment variables located in a file name .env in the top level directory of the project. The only variable we need to start is `DJANGO_SETTINGS_MODULE`:
$ cp bakerydemo/settings/local.example.py bakerydemo/settings/local.py
$ cp bakerydemo/settings/local.py.example bakerydemo/settings/local.py
$ echo "DJANGO_SETTINGS_MODULE=bakerydemo.settings.local" > .env
Execute the following commands: