-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
30 lines (22 loc) · 623 Bytes
/
Makefile
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
.PHONY: rs migrate dump shell seed collect_insights compilereqtxt clean
rs:
python manage.py runserver
migrate:
python manage.py migrate
python manage.py migrate insights --database=insights
shell:
python manage.py shell
seed:
python manage.py seed_db
collect_insights:
python manage.py collect_insights
compilereq:
python requirements/compile.py
clean:
rm -f db/*.db
rm -rf django_insights/migrations
rm -rf project/testapp/migrations
python manage.py makemigrations testapp users
python manage.py makemigrations insights
python manage.py migrate
python manage.py migrate insights --database=insights