-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
46 lines (35 loc) · 738 Bytes
/
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
.PHONY: install
install:
poetry install
.PHONY: lint
lint:
ruff check --output-format=github ./src && ruff format ./src
.PHONY: migrate
migrate:
poetry run python src/manage.py migrate
.PHONY: migrations
migrations:
poetry run python src/manage.py makemigrations
.PHONY: serve
serve:
poetry run python src/manage.py runserver
.PHONY: vite
vite:
cd src && npm run dev
.PHONY: npm-install
npm-install:
cd src && npm install
.PHONY: npm-build
npm-build:
cd src && npm run build
.PHONY: superuser
superuser:
poetry run python src/manage.py createsuperuser
.PHONY: update
update: install migrate;
.PHONY: test
test:
cd src && poetry run python manage.py test
.PHONY: db-seed
db-seed:
poetry run python src/manage.py seed