-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
59 lines (46 loc) · 1.29 KB
/
Copy pathMakefile
File metadata and controls
59 lines (46 loc) · 1.29 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
# Convenience commands for local development and testing of the agent
PHONY: init-backend init-frontend init clean test bench run run-fe run-all restart restart-all stop stop-all
init-backend:
@echo "Initializing backend..."
cd backend && ./setup.sh
init-frontend:
@echo "Initializing frontend..."
cd frontend && npm install
init: init-backend init-frontend
@echo "Initialization complete!"
clean:
@echo "Cleaning up..."
@rm -rf ./backend/venv
@rm -rf ./src/node_modules
@rm -rf ./src/dist
@echo "Cleanup complete!"
test:
@echo "Running tests..."
@pytest -vv backend/unit_tests.py
bench:
@echo "Running benchmarks..."
@echo "**THIS COULD TAKE A WHILE**"
@./scripts/run-bench.sh
run:
@echo "Running agent without UI..."
@docker compose -f docker-compose.yml up -d --build
run-fe:
@echo "Running frontend only..."
@cd src && npm run dev
run-all:
@echo "Running complete agent service (UI, Backend, MCP Servers)..."
@docker compose -f docker-compose-full.yml up -d --build
restart:
@echo "Restarting Agent..."
@make stop
@make run
restart-all:
@echo "Restarting all services..."
@make stop-all
@make run-all
stop:
@echo "Stopping Agent..."
@docker compose -f docker-compose.yml down
stop-all:
@echo "Stopping agent services..."
@docker compose -f docker-compose-full.yml down