-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (22 loc) · 799 Bytes
/
Makefile
File metadata and controls
31 lines (22 loc) · 799 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
.PHONY: help build up down logs clean migrate
help: ## Show this help message
@echo 'Usage: make [target]'
@echo ''
@echo 'Available targets:'
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf " %-15s %s\n", $$1, $$2}' $(MAKEFILE_LIST)
build: ## Build all Docker images
docker-compose build
up: ## Start all services
docker-compose up -d
down: ## Stop all services
docker-compose down
logs: ## Show logs from all services
docker-compose logs -f
clean: ## Remove all containers and volumes
docker-compose down -v
migrate: ## Run database migrations (manual setup)
cd backend && go run cmd/server/main.go
dev-backend: ## Run backend in development mode
cd backend && go run cmd/server/main.go
dev-frontend: ## Run frontend in development mode
cd frontend && npm run dev