jarreed0 / streamlit_test

testing streamlit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

muskrats_streamlit

Installation

To install streamlit, run in your command prompt/terminal:

pip install streamlit

or

python -m pip install streamlit --user

Then, make sure the other requirements for these pages are installed:

pip install -r requirements.txt

or

python -m pip install -r requirements.txt --user

After the Python packages have been downloaded, type into the command prompt/terminal in the repository directory:

python -m streamlit run main_page.py

This will open a new tab with a local host and display your streamlit code.

Note: You do not have to restart the local host every time you add something new, you can save your file and rerun the page to update your screen

Deploying with Docker

Build image:

docker build -t streamlitapp:latest -f docker/Dockerfile .

Run cointainer with image:

docker run -p 8501:8501 streamlitapp:latest

About

testing streamlit


Languages

Language:Python 94.5%Language:Dockerfile 5.5%