forked from welel/noted
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
29 lines (19 loc) · 1.22 KB
/
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
run: env/bin/python noted/core/settings/local.py noted/manage.py
./env/bin/python noted/manage.py runserver --settings=core.settings.local
setdb: env/bin/python noted/core/settings/local.py noted/manage.py
./env/bin/python noted/manage.py makemigrate --settings=core.settings.local
shell: env/bin/python noted/core/settings/local.py noted/manage.py
./env/bin/python noted/manage.py shell --settings=core.settings.local
flushdb: env/bin/python noted/core/settings/local.py noted/manage.py
./env/bin/python noted/manage.py flush --settings=core.settings.local
clear_migrations:
find noted/ -type d -name migrations -exec rm -v -rf {} +
clear_pycache:
find noted/ -type d -name __pycache__ -exec rm -v -rf {} +
clear: clear_migrations clear_pycache
createsuperuser: env/bin/python noted/core/settings/local.py noted/manage.py
./env/bin/python noted/manage.py createsuperuser --settings=core.settings.local
test: env/bin/python noted/core/settings/local.py noted/manage.py
./env/bin/python noted/manage.py test actions common content core tags users --settings=core.settings.test
tg_report: env/bin/python noted/core/settings/local.py noted/manage.py
./env/bin/python noted/manage.py telegram_report --settings=core.settings.local