-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
73 lines (53 loc) · 1.39 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
64
65
66
67
68
69
70
71
72
73
DOCKER_COMPOSE_COMMAND = @docker-compose -f ./docker/docker-compose.yml
BACKEND_SERVICE_NAME = django
.PHONY: test
test:
poetry run py.test
.PHONY: test-coverage
test-coverage:
./run_tests.sh
.PHONY: migrate
migrate:
poetry run python manage.py migrate
.PHONY: migrate-cooler
migrate-cooler:
docker run --rm ksg-nett poetry run python manage.py migrate
.PHONY: migrations
migrations:
poetry run python manage.py makemigrations
.PHONY: migrations-cooler
makemigrations-cooler:
docker run --rm ksg-nett poetry run python manage.py makemigrations
.PHONY: run
run:
poetry run python manage.py runserver
.PHONY: shell
shell:
poetry run python manage.py shell
.PHONY: user
user:
poetry run python manage.py createsuperuser
.PHONY: user-cooler
user-cooler:
docker run --rm ksg-nett poetry run python manage.py createsuperuser
.PHONY: showmigrations
showmigrations:
poetry run python manage.py showmigrations
.PHONY: testdata
testdata:
poetry run python manage.py generate_testdata
.PHONY: activeadmission
activeadmission:
poetry run python manage.py generate_active_admission
.PHONY: nukeadmission
nukeadmission:
poetry run python manage.py nuke_admission_data
.PHONY: debt
debt:
poetry run python manage.py debtcollection
.PHONY: alldebt
alldebt:
poetry run python manage.py debtcollection --all-users
.PHONY: stripe
stripe:
stripe listen --forward-to localhost:8000/economy/stripe-webhook