-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (28 loc) · 827 Bytes
/
Copy pathMakefile
File metadata and controls
42 lines (28 loc) · 827 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
.PHONY: setup-local setup-docker deploy-start up down backend-run backend-test backend-lint backend-format frontend-run frontend-test frontend-lint frontend-build eval
setup-local:
./scripts/setup-local.sh
setup-docker:
./scripts/setup-docker.sh
deploy-start: setup-local up
up:
./scripts/app-up.sh
down:
./scripts/app-down.sh
backend-run:
cd backend && uv run uvicorn app.main:app --reload --port 8000
backend-test:
cd backend && uv run pytest
backend-lint:
cd backend && uv run ruff check .
backend-format:
cd backend && uv run ruff format .
eval:
cd backend && uv run python -m app.eval.runner --dataset ../eval/dataset.yaml
frontend-run:
cd frontend && npm run dev
frontend-test:
cd frontend && npm run test
frontend-lint:
cd frontend && npm run lint
frontend-build:
cd frontend && npm run build