-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.ps1
More file actions
20 lines (16 loc) · 989 Bytes
/
Copy pathstart.ps1
File metadata and controls
20 lines (16 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# EpiNexus: Starting Development Servers (PowerShell)
Write-Host "==========================================" -ForegroundColor Cyan
Write-Host " EpiNexus: Starting Development Servers" -ForegroundColor Cyan
Write-Host "==========================================" -ForegroundColor Cyan
# Start Backend in a new window
Write-Host "Starting Backend..." -ForegroundColor Yellow
Start-Process powershell.exe -ArgumentList "-NoExit", "-Command", "cd backend; ..\.venv\Scripts\Activate.ps1; python run.py"
# Start Frontend in a new window
Write-Host "Starting Frontend..." -ForegroundColor Yellow
Start-Process powershell.exe -ArgumentList "-NoExit", "-Command", "cd frontend; npm run dev"
Write-Host ""
Write-Host "Both servers are starting in separate windows." -ForegroundColor Green
Write-Host "Backend: http://localhost:8000" -ForegroundColor Gray
Write-Host "Frontend: http://localhost:5173" -ForegroundColor Gray
Write-Host ""
Read-Host "Press Enter to exit this launcher window..."