-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (27 loc) · 858 Bytes
/
Makefile
File metadata and controls
35 lines (27 loc) · 858 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
.PHONY: backend frontend scrape ingest setup dev evaluate
# Install all dependencies
setup:
cd backend && pip install -r requirements.txt
cd frontend && npm install
# Run scrapers to collect data
scrape:
cd backend && python3 -m scrapers.run_all
# Ingest scraped data into ChromaDB
ingest:
cd backend && python3 -m ingestion.ingest
# Run scrapers + ingest in one step
data: scrape ingest
# Run backend development server
backend:
cd backend && python3 -m uvicorn app.main:app --reload --port 8000
# Run frontend development server
frontend:
cd frontend && npm run dev
# Evaluate RAG pipeline quality (LLM-as-Judge)
evaluate:
cd backend && python3 -m evaluation.evaluate
# Run both backend and frontend (use two terminals, or run this in background)
dev:
@echo "Run in two separate terminals:"
@echo " make backend"
@echo " make frontend"