@echo off REM Launch the Copper Group Streamlit dashboard. REM 1) cd to the project root so the app finds Dashboard_Data.xlsx REM 2) ensure streamlit is installed (install once if missing) REM 3) run streamlit_app.py — it opens the browser automatically REM Close this window to stop the server. cd /d "%~dp0" title Copper Group Streamlit Dashboard where python >nul 2>nul if errorlevel 1 ( echo Python not found on PATH. Install Python first. pause exit /b 1 ) REM First-time setup: install/refresh requirements quietly. python -m pip install --quiet --upgrade --requirement "%~dp0All_Code\requirements.txt" if errorlevel 1 ( echo Failed to install Python dependencies. See message above. pause exit /b 1 ) python -m streamlit run "%~dp0All_Code\streamlit_app.py" pause