-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (27 loc) · 1.47 KB
/
Makefile
File metadata and controls
42 lines (27 loc) · 1.47 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
.PHONY: install install\:backend install\:frontend \
run run\:backend run\:frontend \
proxy mcp test clean
# ── Install ───────────────────────────────────────────────
install: install\:backend install\:frontend
install\:backend:
cd backend && python3 -m pip install -r requirements.txt
install\:frontend:
cd frontend && npm install
# ── Run ───────────────────────────────────────────────────
run: run\:backend run\:frontend
run\:backend:
cd backend && python3 -m uvicorn app.main:app --reload &
run\:frontend:
cd frontend && npm run dev
# ── Proxy ─────────────────────────────────────────────────
proxy:
cd backend && python3 -c "from app.core.proxy.server import run; run()"
# ── MCP Server ───────────────────────────────────────────
mcp:
cd backend && python3 mcp_server.py
# ── Utils ─────────────────────────────────────────────────
test:
cd backend && python3 -m pytest
clean:
find . -type d -name __pycache__ -exec rm -rf {} +
find . -type f -name '*.pyc' -delete