summ-vi / scripts /run_docker.ps1
Hagurou's picture
Initial commit
0bd1dce
Raw
History Blame Contribute Delete
1.64 kB
# ──────────────────────────────────────────────────────────────
# SummVi β€” Single-command Docker launcher
# Usage: .\scripts\run_docker.ps1 (from any directory)
# docker compose up --build (from project root)
# ──────────────────────────────────────────────────────────────
$root = Resolve-Path (Join-Path $PSScriptRoot "..")
Set-Location $root
Write-Host ""
Write-Host " ╔══════════════════════════════════════╗" -ForegroundColor Cyan
Write-Host " β•‘ SummVi β€” Starting All Services β•‘" -ForegroundColor Cyan
Write-Host " β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•" -ForegroundColor Cyan
Write-Host ""
Write-Host " Services:" -ForegroundColor Yellow
Write-Host " β€’ PostgreSQL β†’ localhost:5432"
Write-Host " β€’ Backend API β†’ http://localhost:8000"
Write-Host " β€’ Frontend β†’ http://localhost:3000"
Write-Host " β€’ Swagger Docs β†’ http://localhost:8000/docs"
Write-Host ""
Write-Host " Analytics endpoints:" -ForegroundColor Yellow
Write-Host " β€’ GET /analytics/topics"
Write-Host " β€’ GET /analytics/top-keywords"
Write-Host " β€’ GET /analytics/trends"
Write-Host " β€’ GET /analytics/summary-stats"
Write-Host ""
docker compose up --build