-
-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (24 loc) · 560 Bytes
/
Makefile
File metadata and controls
35 lines (24 loc) · 560 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
# Makefile
.PHONY: bootstrap up down logs test test-fast lint fmt seed
bootstrap:
bash scripts/dev/bootstrap.sh
up:
docker compose up -d
down:
docker compose down
logs:
docker compose logs -f --tail=200
lint:
pipenv run ruff .
fmt:
pipenv run ruff format .
test:
pipenv run pytest -q
test-fast:
pipenv run pytest -q -m "not live"
seed:
docker compose exec -T web python scripts/db/seed_minimal.py
seed-full:
docker compose exec -T web bash scripts/db/seed_full.sh
update-models:
docker compose exec -T web bash scripts/db/update_models.sh