-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
63 lines (43 loc) · 1.03 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
build:
docker-compose build
up-db:
docker-compose up -d postgres-db arango-db postgrest
build-dev:
docker-compose build
docker-compose run --rm web python manage.py migrate
docker-compose up web
debug:
python ./manage.py runserver
test-dev:
watchexec -c -e py -r pytest
migrate:
python manage.py makemigrations
python manage.py migrate
down-db:
docker-compose down
docker volume prune
purge-vol:
docker volume prune
fd -p -g '**/**/migrations/**/*.{py,pyc}' -E __init__.py -x rm -rf
dj-run:
python manage.py runserver
dj-super:
python manage.py createsuperuser
demigrate:
fd -p -g '**/**/migrations/**/*.{py,pyc}' -E __init__.py -x rm -rf
python manage.py makemigrations
python manage.py migrate --fake rtserver zero
djnotebook:
python manage.py shell_plus --notebook
superuser:
python manage.py createsuperuser
dj-user:
python manage.py createuser
dj-shell:
python manage.py shell
or-deploy:
prefect deployment create ./server/orion.py
or-serve:
prefect orion start
or-reset:
prefect orion database reset -y