mirror of
https://github.com/idrainformatica/PecFlow.git
synced 2026-06-16 12:45:42 +02:00
fase 5
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user