Spaces:
Paused
Paused
| Write-Host "========================================================" -ForegroundColor Cyan | |
| Write-Host " WidgeTDC Hybrid Mode Starter" -ForegroundColor White | |
| Write-Host "========================================================" -ForegroundColor Cyan | |
| Write-Host "" | |
| Write-Host "Denne mode kører:" | |
| Write-Host " 1. Frontend: Local (Port 8080)" -ForegroundColor Green | |
| Write-Host " 2. Backend: Local (Port 3001)" -ForegroundColor Green | |
| Write-Host " 3. Database: Cloud (Neo4j AuraDB)" -ForegroundColor Yellow | |
| Write-Host "" | |
| Write-Host " KRAV FOR AT STARTE:" -ForegroundColor Red | |
| Write-Host " Du SKAL have indsat dine Neo4j AuraDB oplysninger i:" | |
| Write-Host " apps/backend/.env" | |
| Write-Host "" | |
| Write-Host "========================================================" -ForegroundColor Cyan | |
| Write-Host "" | |
| $confirmation = Read-Host "Har du opdateret .env filen? (y/n)" | |
| if ($confirmation -ne 'y') { | |
| Write-Host "" | |
| Write-Host "Husk at oprette en gratis database på https://neo4j.com/cloud/aura/" -ForegroundColor Yellow | |
| Write-Host "og indsæt URI/User/Password i apps/backend/.env" -ForegroundColor Yellow | |
| Write-Host "" | |
| exit | |
| } | |
| Write-Host "" | |
| Write-Host "Starter Hybrid Development Environment..." -ForegroundColor Green | |
| Write-Host "(Tryk Ctrl+C for at stoppe)" | |
| Write-Host "" | |
| npm run dev | |