kopia lustrzana https://github.com/wagtail/bakerydemo
Fix readme reference to local.py.example
rodzic
f8b099b902
commit
aae64c9d6a
|
@ -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:
|
||||
|
|
Ładowanie…
Reference in New Issue