forked from wagtail-nest/wagtail-bakery
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request wagtail-nest#25 from wagtail/17-vagrant-issues
Amending initial settings
- Loading branch information
Showing
11 changed files
with
34 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
.~* | ||
common/CACHE | ||
bakerydemo/media/* | ||
bakerydemo/settings/local.py | ||
bakerydemodb | ||
__pycache__ | ||
.* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
from .dev import * | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from bakerydemo.settings.dev import * # noqa | ||
|
||
# Override settings here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,17 @@ With PIP installed run the following commands: | |
|
||
git clone [email protected]:wagtail/bakerydemo.git | ||
cd wagtaildemo | ||
pip install -r requirements/base.txt | ||
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`: | ||
|
||
$ cp bakerydemo/settings/local.example.py bakerydemo/settings/local.py | ||
$ echo "DJANGO_SETTINGS_MODULE=bakerydemo.settings.local" > .env | ||
|
||
Execute the following commands: | ||
|
||
./manage.py migrate | ||
./manage.py load_initial_data | ||
./manage.py runserver | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters