Premium Flask Dashboard project crafted on top of Soft Dashboard PRO, a pixel-perfect Bootstrap 5 design from Creative-Tim. Designed for those who like bold elements and beautiful websites, Soft UI Dashboard is ready to help you create stunning websites and webapps.
- 👉 Soft Dashboard PRO Flask - Product Page
- 👉 Soft Dashboard PRO Flask - LIVE Demo
Features
- ✅
Up-to-date dependencies - ✅ UI Kit: Soft UI Dashboard PRO (PRO Version) by
Creative-Tim - ✅
Database:SQLite, MySql- Silent fallback to
SQLite
- Silent fallback to
- ✅
DB Tools: SQLAlchemy ORM,Flask-Migrate - ✅
Authentication, Session Based - ✅
Docker, Page Compression viaFlask-Minify - 🚀
DeploymentCI/CDflow viaRenderCDN Support(optional)
👉 Step 1 - Download & unzip the code (
requires a purchasefrom the official page)
$ unzip flask-soft-ui-dashboard-pro.zip $ cd flask-soft-ui-dashboard-pro👉 Step 2 - Start the APP in
Docker
$ docker-compose up --build Visit http://localhost:5085 in your browser. The app should be up & running.
Download & unzip the code
$ unzip flask-soft-ui-dashboard-pro.zip $ cd flask-soft-ui-dashboard-proInstall modules via
VENV
$ virtualenv env $ source env/bin/activate $ pip3 install -r requirements.txtSet Up Flask Environment
Edit .env using env.sample or simply export the variables in the environment. Here are the expected values:
DEBUG: controls theDevelopment,Productionmode- Default
False(production)
- Default
FLASK_APP=run.py: mandatory (APP entry point)SECRET_KEY: optional, random value used if not providedDB credentialsNote: if NOT provided, or wrong values, SQLite is usedDB_ENGINE,DB_HOST,DB_NAME...
CDN_DOMAIN: disabled by default- Used only when
DEBUG=False(production mode)
- Used only when
Start the app
$ flask runAt this point, the app runs at http://127.0.0.1:5000/.
Install modules via
VENV(windows)
$ virtualenv env $ .\env\Scripts\activate $ pip3 install -r requirements.txt Set Up Flask Environment
Edit .env using env.sample or simply export the variables in the environment. Here are the expected values:
DEBUG: controls theDevelopment,Productionmode- Default
False(production)
- Default
FLASK_APP=run.py: mandatory (APP entry point)SECRET_KEY: optional, random value used if not providedDB credentialsNote: if NOT provided, or wrong values, SQLite is usedDB_ENGINE,DB_HOST,DB_NAME...
CDN_DOMAIN: disabled by default- Used only when
DEBUG=False(production mode)
- Used only when
Start the app
$ flask runAt this point, the app runs at http://127.0.0.1:5000/.
The project has a simple, intuitive structure presented bellow:
< PROJECT ROOT > | |-- apps/__init__.py |-- apps/ | |-- static/ | | |-- <css, JS, images> # CSS files, Javascripts files | | | |-- templates/ | | | |-- includes/ # Page chunks, components | | | | | |-- navigation.html # Top bar | | |-- scripts.html # JS scripts common to all pages | | |-- footer.html # The common footer | | | |-- layouts/ # App Layouts (the master pages) | | | | | |-- base.html # Used by common pages like index, UI | | | |-- pages/ # UI Kit Pages | |-- charts.html # Charts page | |-- widgets.html # Widgets page | |-- *.html # All other pages provded by the KIT | |-- requirements.txt | |-- run.py | |-- ************************************************************************Soft UI Dashboard PRO Flask - Starter provided by AppSeed.
