This repo includes Streamlit dashboards for CoreEd capacity monitoring. The current version in use is osu_coreed_capacity_dashboard_v4_b.py.
- Create/activate a virtualenv (optional but recommended):
python3 -m venv .venv
source .venv/bin/activate- Install dependencies:
pip install -r requirements.txt- Ensure the SQLite data file is present in the repo root:
osu_enrollment_log_classes.db. - Run the dashboard locally:
streamlit run osu_coreed_capacity_dashboard_v4_b.pyThen open the URL shown in the terminal (default http://localhost:8501).
Run Streamlit bound to all interfaces and a fixed port, then share your machine’s IP:
streamlit run osu_coreed_capacity_dashboard_v4_b.py --server.address 0.0.0.0 --server.port 8501Share http://<your-ip>:8501. Your machine must stay on and reachable; firewall/VPN rules may apply.
- Streamlit Cloud: push to GitHub (include
requirements.txtand the SQLite file or provide it via secrets/storage), then deploy selectingosu_coreed_capacity_dashboard_v4_b.pyas the entry point. - Self-host: run on a VM/container with the repo and DB mounted, and reverse-proxy port 8501 behind HTTPS.