This commit is contained in:
2026-03-18 20:54:43 +01:00
parent b3c8b77f12
commit 9fe656b34c
8058 changed files with 912898 additions and 23 deletions
+24 -4
View File
@@ -17,10 +17,11 @@ dev: ## Avvia l'intero stack in background
$(COMPOSE) up -d --build
@echo ""
@echo " ✅ Stack avviato:"
@echo " 📡 API: http://localhost:8000"
@echo " 📖 Docs: http://localhost:8000/docs"
@echo " 🗄️ MinIO: http://localhost:9001 (admin/password)"
@echo " 📊 PgAdmin: http://localhost:5050 (admin@pecflow.it / admin)"
@echo " 🌐 Frontend: http://localhost (interfaccia utente)"
@echo " 📡 API: http://localhost/api/v1 (via Nginx)"
@echo " 📖 Docs: http://localhost/docs (Swagger UI)"
@echo " 🔧 Backend: http://localhost:8000 (diretto)"
@echo " 🗄️ MinIO: http://localhost:9001 (minioadmin/minioadmin)"
@echo ""
down: ## Ferma e rimuove i container (preserva i volumi)
@@ -41,6 +42,25 @@ logs-backend: ## Segui i log del backend
logs-worker: ## Segui i log del worker IMAP
$(COMPOSE) logs -f worker
logs-frontend: ## Segui i log del frontend Vite
$(COMPOSE) logs -f frontend
# ─── Frontend ─────────────────────────────────────────────────────────────────
FRONTEND = $(COMPOSE) exec frontend
frontend-install: ## Installa dipendenze npm nel container
$(FRONTEND) npm install
frontend-build: ## Build di produzione del frontend
$(FRONTEND) npm run build
frontend-typecheck: ## Controlla i tipi TypeScript
$(FRONTEND) npm run type-check
shell-frontend: ## Shell nel container frontend
$(FRONTEND) sh
ps: ## Stato dei container
$(COMPOSE) ps