Spaces:
Sleeping
Sleeping
metadata
title: Streamlit Docker
emoji: 🐨
colorFrom: indigo
colorTo: red
sdk: docker
pinned: false
license: apache-2.0
app_port: 8501
Introduction to Streamlit with Docker
Overview
Location: Rexburg, Idaho When: July 16, 2024
This material uses Polars and focuses Streamlit and dashboarding to introduce the data science app development process.
Installing the tools
We will need Visual Studio Code and Python installed for this short course. Each tool has additional packages/extensions that we will need to install as well.
Visual Studio Code Extensions
You can use Managing Extensions in Visual Studio Code to learn how to install extensions. We will use Python - Visual Studio Marketplace extension heavily. Managing Extensions in Visual Studio Code provides more background on extensions if needed.
Repo Navigation
guides
folder
The guides
folder has cheat sheets for polars and streamlit
scripts_build
folder
The scripts_build
folder has the munging scripts that built the data for the app we will explore.
Other key files
- The slides.html is a Remark Slides presentation on Dashboarding. You can read more at remark_slides.md. The slides are embedded in the default Streamlit app for this repository.
- Dockerfile is the build script for our Docker Image
- docker-compose.yml provides an easy way to start our docker container. Docker Compose is 'the key to unlocking a streamlined and efficient development and deployment experience.'
- requirements.txt is run from the Dockerfile and installs the needed Python packages.
- README.md is this file. The
YAML
at the top is necessary for the Streamlit app to work correctly. Specifically theapp_port: 8501
is needed. All other information can and should be manipulated. - [streamlit.py] is our Streamlit app.
- The remaining files are data files.