@echo off
title Stock Locator
CD /D "%~dp0"
start "" cmd /c "timeout /t 2 >nul && start http://localhost:5050"
echo.
echo  ================================================================
echo   Stock Locator is starting...
echo   Browser will open at:  http://localhost:5050
echo   From a phone on the same WiFi: http://%COMPUTERNAME%:5050
echo   Press Ctrl+C to stop
echo  ================================================================
echo.
runtime\python.exe wsgi.py
echo.
echo  Server stopped. Double-click this file to start it again.
pause
