- atomizer.ico: Application icon - launch_atomizer.bat: One-click launcher for dashboard - create_desktop_shortcut.ps1: Desktop shortcut creator - restart_backend.bat, start_backend_8002.bat: Dev utilities
15 lines
432 B
Batchfile
15 lines
432 B
Batchfile
@echo off
|
|
echo Killing processes on port 8001...
|
|
for /f "tokens=5" %%a in ('netstat -ano ^| findstr ":8001.*LISTENING"') do (
|
|
echo Killing PID %%a
|
|
taskkill /F /PID %%a 2>nul
|
|
)
|
|
|
|
echo Waiting for port to free up...
|
|
ping 127.0.0.1 -n 3 >nul
|
|
|
|
echo Starting backend...
|
|
cd /d C:\Users\antoi\Atomizer\atomizer-dashboard\backend
|
|
call C:\Users\antoi\anaconda3\Scripts\activate.bat atomizer
|
|
python -m uvicorn api.main:app --port 8001
|