Skip to content

rick020/streamlit-render

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streamlit Dashboard

This is a simple Streamlit dashboard ready to be deployed on Render.com, using uv as the package manager.

Local Development

  1. Install uv (if not already installed):
    pip install uv
  2. Create and activate a virtual environment:
    uv venv
    source .venv/bin/activate
  3. Install dependencies:
    uv pip install -r requirements.txt  # or use `uv pip install streamlit` if you want to add more packages
  4. Run the dashboard:
    streamlit run dashboard.py

Deployment on Render.com

  1. Create a new Web Service on Render.com.
  2. 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
  3. Add a requirements.txt file (Render.com expects this):
    uv pip freeze > requirements.txt
  4. Deploy!

Notes

  • Make sure your requirements.txt is up to date with your dependencies.
  • The dashboard will be available at the URL provided by Render.com after deployment.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published