-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (26 loc) · 998 Bytes
/
Makefile
File metadata and controls
36 lines (26 loc) · 998 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
.PHONY: help install setup dev dev-app dev-agent dev-mcp build lint clean
help: ## Show this help message
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-15s\033[0m %s\n", $$1, $$2}'
install: ## Install all dependencies (Node + Python)
pnpm install
setup: install ## Full setup: install deps and create .env from template
@if [ ! -f apps/agent/.env ]; then \
echo "OPENAI_API_KEY=your-key-here" > apps/agent/.env; \
echo "Created apps/agent/.env — add your OpenAI API key"; \
else \
echo "apps/agent/.env already exists, skipping"; \
fi
dev: ## Start all services (frontend + agent + mcp)
pnpm dev
dev-app: ## Start Next.js frontend only (http://localhost:3000)
pnpm dev:app
dev-agent: ## Start LangGraph agent only (http://localhost:8123)
pnpm dev:agent
dev-mcp: ## Start MCP server only
pnpm dev:mcp
build: ## Build all apps
pnpm build
lint: ## Lint all apps
pnpm lint
clean: ## Clean build artifacts
pnpm clean