-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart_all.ps1
More file actions
19 lines (13 loc) · 1.15 KB
/
Copy pathstart_all.ps1
File metadata and controls
19 lines (13 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# start_all.ps1
# This script launches all 4 components of the SIH project in separate terminal windows.
$basePath = "D:\Projects\1_SIH 25"
Write-Host "Starting Kiosk Analytics Server (server.py)..."
Start-Process powershell.exe -ArgumentList "-NoExit -Command `"cd '$basePath\github-new\attendance-marker\SIH'; .\.venv\Scripts\activate; `$env:PORT='5001'; python backend/server.py`""
Write-Host "Starting Main Attendance Backend (app.py)..."
Start-Process powershell.exe -ArgumentList "-NoExit -Command `"cd '$basePath\github-new\attendance-marker\SIH'; .\.venv\Scripts\activate; python backend/app.py`""
Write-Host "Starting React Frontend (Mood Analytics Dashboard)..."
Start-Process powershell.exe -ArgumentList "-NoExit -Command `"cd '$basePath\github-new\attendance-marker\learnhub-faculty-main\learnhub-faculty-main'; npm run dev`""
Write-Host "Starting Video Conferencing App..."
# Note: Based on the directory, your video conferencing app runs on node via server.cjs
Start-Process powershell.exe -ArgumentList "-NoExit -Command `"cd '$basePath\video-conferencing'; npm start`""
Write-Host "All 4 servers are launching! Check the newly opened terminal windows."