Skip to content

GovTechSG/airbase-streamlit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()

About

A streamlit starter app for airbase. This project contains a simple containerised streamlit application that can be deployed to airbase, a modern developer experience on the government commercial cloud (GCC).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors