|
@@ -155,8 +155,8 @@ Now we're ready to set up the bakery demo project itself:
|
|
|
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`:
|
|
|
|
|
|
- $ cp bakerydemo/settings/local.py.example bakerydemo/settings/local.py
|
|
|
- $ echo "DJANGO_SETTINGS_MODULE=bakerydemo.settings.local" > .env
|
|
|
+ cp bakerydemo/settings/local.py.example bakerydemo/settings/local.py
|
|
|
+ echo "DJANGO_SETTINGS_MODULE=bakerydemo.settings.local" > .env
|
|
|
|
|
|
To set up your database and load initial data, run the following commands:
|
|
|
|