Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 712 Bytes

File metadata and controls

40 lines (27 loc) · 712 Bytes

airbase-streamlit-app

Local Development

Setup

# Create venv (only on initial setup)
python3 -m venv venv

# Activate venv
source venv/bin/activate

# Install dependencies
pip3 install -r requirements.txt

# Start local app
streamlit run main.py

Deployment

Make changes to the code on main branch to trigger Github Actions. Demo deployment

App Password

Specify the following environment variable if you wish to password protect the entire application.

PASSWORD=

Note that if the environment variable is empty, the check is not enforced.

In your python3 file, include the following to enforce password checks:

if not check_password():
    st.stop()