-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (21 loc) · 675 Bytes
/
Makefile
File metadata and controls
31 lines (21 loc) · 675 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
project = base
app?=zodiac
dumpdata:
python2.7 ./manage.py dumpdata --indent 4 --natural auth --exclude auth.permission > $(project)/fixtures/bootstrap_auth.json
python2.7 ./manage.py dumpdata --indent 4 --natural sites > $(project)/fixtures/bootstrap_sites.json
loaddata:
python2.7 manage.py loaddata $(project)/fixtures/bootstrap_auth.json
python2.7 manage.py loaddata $(project)/fixtures/bootstrap_sites.json
syncdb:
python2.7 manage.py migrate
build: syncdb loaddata
flush:
python2.7 manage.py flush --noinput
rebuild: flush build
run:
python manage.py runserver
pip:
pip install -r requirements.txt
test:
py.test $(app)
#./manage.py test $(app) -v 2