-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (32 loc) · 669 Bytes
/
Copy pathMakefile
File metadata and controls
42 lines (32 loc) · 669 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
33
34
35
36
37
38
39
40
41
42
run-admin:
poetry run task run-admin
run-bot:
poetry run task run-bot
run-celery-worker:
poetry run task celery-worker
run-celery-beat:
poetry run task celery-beat
.PHONY: install
install:
poetry install
poetry run task setup-env
poetry run task migrate
poetry run task defaultadmin
.PHONY: create-admin
create-admin:
poetry run task createsuperuser
.PHONY: run
run:
@make -j 2 run-admin run-bot
.PHONY: run-all
run-all:
@make -j 4 run-admin run-bot run-celery-worker run-celery-beat
.PHONY: makemigrations
makemigrations:
poetry run task makemigrations
.PHONY: migrate
migrate:
poetry run task migrate
.PHONY: flake
flake:
poetry run task flake