-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (25 loc) · 677 Bytes
/
Makefile
File metadata and controls
33 lines (25 loc) · 677 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
32
mig:
python3 manage.py makemigrations
python3 manage.py migrate
unmig:
find . -path "*/migrations/*.py" -not -name "__init__.py" -delete
python3 manage.py ram
ram:
python3 manage.py ram
faker:
python3 manage.py loaddata role
python3 manage.py create -c 2 -b 5 -course 5 -r 10 -hd 10 -u 10 -uc 15 -li 10 -l 10 -gr 10
admin:
python3 manage.py createsuperuser --noinput
remig:
make unmig
make ram
make mig
make admin
make faker
search_index:
python3 manage.py search_index --rebuild
test:
coverage run -m pytest -vv
coverage report --omit='*/migrations/*,*/__init__.py'
coverage html --omit='*/migrations/*,*/__init__.py,core/' && open htmlcov/index.html