@echo off echo Starting KPI Dashboard Server... cd /d "%~dp0" start /B python app.py > server_log.txt 2>&1 timeout /t 5 /nobreak >nul echo. echo ================================================ echo Server running at: echo Local: http://localhost:5000 echo Network: http://192.168.1.191:5000 echo ================================================ echo. echo For external access (from anywhere): echo 1. Sign up at https://ngrok.com (free) echo 2. Run: ngrok config add-authtoken YOUR_TOKEN echo 3. Run: ngrok http 5000 echo 4. Use the https://xxxx.ngrok-free.app URL echo.