chore: Add Atomizer launcher and utility scripts
- 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
This commit is contained in:
14
restart_backend.bat
Normal file
14
restart_backend.bat
Normal file
@@ -0,0 +1,14 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user