-
-
Notifications
You must be signed in to change notification settings - Fork 71
Expand file tree
/
Copy pathMakefile
More file actions
19 lines (15 loc) · 704 Bytes
/
Makefile
File metadata and controls
19 lines (15 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
init: load-data start
start:
python ./manage.py runserver
load-data:
python ./manage.py createcachetable
python ./manage.py migrate
python ./manage.py load_initial_data
python ./manage.py collectstatic --noinput
dump-data:
python ./manage.py dumpdata --natural-foreign --indent 2 -e auth.permission -e contenttypes -e wagtailcore.GroupCollectionPermission -e wagtailimages.rendition -e images.rendition -e sessions -e wagtailsearch.indexentry -e wagtailsearch.sqliteftsindexentry -e wagtailcore.referenceindex -e wagtailcore.pagesubscription > fixtures/demo.json
reset-db:
rm -f db.sqlite3
python ./manage.py createcachetable
python ./manage.py migrate
python ./manage.py load_initial_data