Login form

Let’s try the following setup.

  1. Open powershell and create a temp_streamlit folder from your c drive or any drive.

image

  1. cd to temp_streamlit folder and check you python version.

image

  1. Create a virtual environment folder called venv with:
    python -m venv venv

image

  1. Clone the repo of aut ui with:
    git clone https://github.com/GauriSP10/streamlit_login_auth_ui

image

  1. Activate the virtual environment. We will install streamlit and other needed packages.
    ./venv/scripts/activate

image

  1. Update pip with:
    python -m pip install pip -U

  2. Install streamlit with:
    pip install streamlit

  3. Install the auth ui package with:
    pip install streamlit-login-auth-ui

  4. Install argon with:
    pip install argon2-cffi

  5. cd to the aut ui folder and run the app.
    There is app.py under streamlit_login_auth_ui folder.

image

You should see something like this.

If you no longer need it, just delete temp_streamlit folder.

1 Like