forked from FlowElement-xinliuyuansu/m_flow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
48 lines (32 loc) · 1.61 KB
/
Copy pathMakefile
File metadata and controls
48 lines (32 loc) · 1.61 KB
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
.PHONY: quickstart up down build logs status test lint docs-build docs-serve sync-benchmarks
# ── Quick Start ──────────────────────────────────────────────────────────────
quickstart:
@./quickstart.sh
# ── Deployment ───────────────────────────────────────────────────────────────
up:
docker compose --profile ui up -d
down:
docker compose --profile ui down
build:
docker compose --profile ui build
logs:
docker compose logs -f --tail=100
status:
docker compose ps
restart:
docker compose --profile ui restart
# ── Development ──────────────────────────────────────────────────────────────
test:
PYTHONPATH=. pytest m_flow/tests/unit/ -v --tb=short
lint:
ruff check m_flow/ --fix
ruff format m_flow/
# ── Documentation ────────────────────────────────────────────────────────────
docs-build:
source .venv-docs/bin/activate && mkdocs build --strict
docs-serve:
source .venv-docs/bin/activate && mkdocs serve
sync-benchmarks:
cp benchmarks/README.md docs/benchmarks/README.md
cp benchmarks/hotpotqa/README.md docs/benchmarks/hotpotqa/README.md
cp benchmarks/evolving/README.md docs/benchmarks/evolving/README.md