Files
TradarrV2/Makefile
Blomios 9970b49746 test(infra): add postgres and frontend test tooling
Add repeatable PostgreSQL integration tests and configure Vitest, Testing Library, and ESLint.

Refs #11

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-20 19:54:28 +01:00

33 lines
572 B
Makefile

.PHONY: up down build logs deps test-postgres
test-postgres:
./backend/scripts/test-postgres.sh
# Démarrer tous les services
up:
docker-compose up --build
# Arrêter
down:
docker-compose down
# Build uniquement
build:
docker-compose build
# Logs
logs:
docker-compose logs -f
# Télécharger les dépendances Go (à lancer avant le premier build)
deps:
cd backend && go mod tidy
cd frontend && npm install
# Lancer en développement (backend + frontend séparément)
dev-backend:
cd backend && go run ./cmd/server
dev-frontend:
cd frontend && npm run dev