22 lines
889 B
PowerShell
22 lines
889 B
PowerShell
|
|
# Start Development Servers
|
||
|
|
# This script starts both webapp and orchestrator services
|
||
|
|
|
||
|
|
Write-Host "Starting development servers..." -ForegroundColor Green
|
||
|
|
|
||
|
|
# Start webapp
|
||
|
|
Write-Host "`nStarting webapp (Next.js)..." -ForegroundColor Yellow
|
||
|
|
Start-Process powershell -ArgumentList "-NoExit", "-Command", "cd webapp; npm run dev" -WindowStyle Normal
|
||
|
|
|
||
|
|
# Wait a bit
|
||
|
|
Start-Sleep -Seconds 2
|
||
|
|
|
||
|
|
# Start orchestrator
|
||
|
|
Write-Host "Starting orchestrator (Express)..." -ForegroundColor Yellow
|
||
|
|
Start-Process powershell -ArgumentList "-NoExit", "-Command", "cd orchestrator; npm run dev" -WindowStyle Normal
|
||
|
|
|
||
|
|
Write-Host "`n✅ Development servers starting!" -ForegroundColor Green
|
||
|
|
Write-Host "`nWebapp: http://localhost:3000" -ForegroundColor Cyan
|
||
|
|
Write-Host "Orchestrator: http://localhost:8080" -ForegroundColor Cyan
|
||
|
|
Write-Host "`nNote: Servers are running in separate windows." -ForegroundColor Yellow
|
||
|
|
|