Skip to content

app-generator/jinja-soft-ui-dashboard-pro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Jinja/Flask Template provided by AppSeed on top of Soft UI Dashboard PRO, a modern Bootstrap 5 design from Creative-Tim. The project might help beginners to code simple presentation websites on top of the existing codebase OR migrate the production-ready UI to a legacy Python-based project compatible with Jinja Template Engine: Flask, Django, Bottle of FastAPI.


Features:

  • Up-to-date dependencies
  • ✅ UI Kit: Soft UI Dashboard PRO (PRO Version) by Creative-Tim
  • Docker
  • 🚀 CI/CD flow via Render

Quick Start in Docker

Get the code

$ git clone https://github.com/app-generator/priv-jinja-soft-ui-dashboard-pro.git
$ cd priv-jinja-soft-ui-dashboard-pro

Start the app in Docker

$ docker-compose up --build 

Visit http://localhost:5085 in your browser. The app should be up & running.


soft-ui-dashboard-pro-screen


✨ How to use it

Download the code

$ # Get the code
$ git clone https://github.com/app-generator/jinja-berry-dashboard.git
$ cd jinja-berry-dashboard

👉 Set Up for Unix, MacOS

Install modules via VENV

$ virtualenv env
$ source env/bin/activate
$ pip3 install -r requirements.txt

Set Up Flask Environment

$ export FLASK_APP=run.py
$ export FLASK_DEBUG=False

Start the app

$ flask run

At this point, the app runs at http://127.0.0.1:5000/.


👉 Set Up for Windows

Install modules via VENV (windows)

$ virtualenv env
$ .\env\Scripts\activate
$ pip3 install -r requirements.txt

Set Up Flask Environment

$ # CMD 
$ set FLASK_APP=run.py
$ set FLASK_DEBUG=False
$
$ # Powershell
$ $env:FLASK_APP = ".\run.py"
$ $env:FLASK_DEBUG = "False"

Start the app

$ flask run

At this point, the app runs at http://127.0.0.1:5000/.


✨ Code-base structure

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
   |         |
   |         |-- home/                     # UI Kit Pages
   |              |-- index.html           # default page
   |              |-- page-404.html        # 404 error page
   |              |-- *.html               # Used by common pages like index, UI
   |
   |-- requirements.txt
   |
   |-- run.py
   |
   |-- ************************************************************************


Soft Dashboard PRO Jinja - Provided by AppSeed.