-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
68 lines (50 loc) · 1.9 KB
/
Makefile
File metadata and controls
68 lines (50 loc) · 1.9 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
UV ?= uv
.PHONY: setup lint test \
run-research run-strategy run-policy run-execution run-portfolio run-dashboard \
run-audit run-orchestrator run-sentiment run-notification run-approval \
aahp-validate aahp-checksums
setup:
$(UV) sync --all-packages --group dev
lint:
$(UV) run --group dev ruff check .
test:
$(UV) run --group dev pytest
run-research:
$(UV) run uvicorn research_service.main:app --host 0.0.0.0 --port 8005
run-strategy:
$(UV) run uvicorn strategy_service.main:app --host 0.0.0.0 --port 8003
run-policy:
$(UV) run uvicorn policy_service.main:app --host 0.0.0.0 --port 8001
run-execution:
$(UV) run uvicorn execution_service.main:app --host 0.0.0.0 --port 8002
run-portfolio:
$(UV) run uvicorn portfolio_service.main:app --host 0.0.0.0 --port 8004
run-audit:
$(UV) run uvicorn audit_logger.main:app --host 0.0.0.0 --port 8006
run-orchestrator:
$(UV) run uvicorn autonomy_orchestrator.main:app --host 0.0.0.0 --port 8007
run-sentiment:
$(UV) run uvicorn sentiment_aggregator.main:app --host 0.0.0.0 --port 8008
run-notification:
$(UV) run uvicorn notification_service.main:app --host 0.0.0.0 --port 8009
run-approval:
$(UV) run uvicorn approval_gateway.main:app --host 0.0.0.0 --port 8010
run-dashboard:
python3 -m http.server 8080 --directory apps/dashboard
run:
@echo "Start services individually:"
@echo " make run-research (port 8005)"
@echo " make run-strategy (port 8003)"
@echo " make run-policy (port 8001)"
@echo " make run-execution (port 8002)"
@echo " make run-portfolio (port 8004)"
@echo " make run-audit (port 8006)"
@echo " make run-orchestrator (port 8007)"
@echo " make run-sentiment (port 8008)"
@echo " make run-notification (port 8009)"
@echo " make run-approval (port 8010)"
@echo " make run-dashboard (port 8080)"
aahp-validate:
python3 tools/aahp.py validate-manifest
aahp-checksums:
python3 tools/aahp.py generate-checksums