|
|
@@ -6,13 +6,14 @@ install:
|
|
6
|
6
|
pip install -r requirements.txt
|
|
7
|
7
|
|
|
8
|
8
|
sandbox: install
|
|
|
9
|
+ [ -f sites/sandbox/db.sqlite ] && rm sites/sandbox/db.sqlite
|
|
9
|
10
|
# Create database
|
|
10
|
11
|
sites/sandbox/manage.py syncdb --noinput
|
|
11
|
12
|
sites/sandbox/manage.py migrate
|
|
12
|
13
|
# Import some fixtures
|
|
13
|
14
|
sites/sandbox/manage.py oscar_import_catalogue sites/_fixtures/books-catalogue.csv
|
|
14
|
15
|
sites/sandbox/manage.py oscar_import_catalogue_images sites/_fixtures/books-images.tar.gz
|
|
15
|
|
- sites/sandbox/manage.py loaddata countries.json sites/_fixtures/pages.json
|
|
|
16
|
+ sites/sandbox/manage.py loaddata countries.json sites/_fixtures/pages.json sites/_fixtures/auth.json
|
|
16
|
17
|
sites/sandbox/manage.py rebuild_index --noinput
|
|
17
|
18
|
|
|
18
|
19
|
ci:
|