This is a simple Streamlit dashboard ready to be deployed on Render.com, using uv as the package manager.
- Install uv (if not already installed):
pip install uv
- Create and activate a virtual environment:
uv venv source .venv/bin/activate - Install dependencies:
uv pip install -r requirements.txt # or use `uv pip install streamlit` if you want to add more packages - Run the dashboard:
streamlit run dashboard.py
- Create a new Web Service on Render.com.
- Set the build and start commands:
- Build Command:
pip install -r requirements.txt
- Start Command:
streamlit run dashboard.py --server.port $PORT --server.address 0.0.0.0
- Build Command:
- Add a
requirements.txtfile (Render.com expects this):uv pip freeze > requirements.txt - Deploy!
- Make sure your
requirements.txtis up to date with your dependencies. - The dashboard will be available at the URL provided by Render.com after deployment.