-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
43 lines (29 loc) · 881 Bytes
/
Copy pathMakefile
File metadata and controls
43 lines (29 loc) · 881 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
43
.PHONY: up down db-seed test lint stress audit cli-status api serve validate all
CARDOPS_DSN ?= postgresql://cardops:cardops_secret@localhost:5432/cardops_db
export CARDOPS_DSN
up:
docker compose up -d --build
down:
docker compose down
db-seed:
bash scripts/load_all_sql.sh
test:
python -m pytest -q tests
lint:
python -m compileall cardops_cli.py cardops_api.py api tests
test-all:
powershell -ExecutionPolicy Bypass -File scripts/run_all_tests.ps1
stress:
python cardops_cli.py stress --iterations 2000 --horizon 30
audit:
python cardops_cli.py audit
cli-status:
python cardops_cli.py status
api:
python cardops_api.py
serve:
powershell -ExecutionPolicy Bypass -File scripts/serve_dashboard.ps1
validate:
python scripts/validate_system.py
all: up db-seed test cli-status
@echo "CardOpsAI Tier-0 ready — API :8000 · Dashboard :8888 · Adminer :8080"