A template to quickly standup a flask webapp with bootstrap and a database.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
maximstewart 10eaae7b0e Updated collapse of menus 6 months ago
images Updated collapse of menus 6 months ago
src Updated collapse of menus 6 months ago
.gitignore added ignore file 1 year ago
LICENSE Initial commit 2 years ago
README.md Updated UI 8 months ago
create_venv.sh Added OIDC IAM logic for Keycloak 9 months ago
linux-requirements.txt Added to requirements and fixed logging 6 months ago
windows-requirements.txt Added to requirements and fixed logging 6 months ago

README.md

Flask-Project-Template

A template to quickly standup a Flask app with Bootstrap 4, React, OIDC IAM, and a database.

Dependencies

sudo apt install python3

Setup

*** Change directory to Flask-Project-Template/ or rename the folder before doing so. Then either run the create_venv.sh script. For windows, you'll need git bash. You can also just create the venv yourself and pip install the dependencies thereafter.

*** To start the application:

Linux/Mac ./linux-start.sh

Windows ./windows-start.sh

Images

1 Default starting interface.

Notes

  • Make sure to change the port in the start script as needed.
  • You can change the login route by changing the 'LOGIN_PATH' variable in the init.py file in the 'core' directory.
  • Get Keycloak to use oidc login route.
  • If using Keycloak, make sure to change the client_secrets.json file values to match your Keycloak settings. Or, match Keycloak settings to the client_secrets.json file.
  • Have fun!