Open-Source
seed project generated by AppSeed in Flask Framework on top of Material Kit design. Designed for those who like bold elements and beautiful websites, Material Kit 2 is ready to help you create stunning websites and web apps. Material Kit 2
is built with over 60 frontend individual elements, like buttons, inputs, navbars, nav tabs, cards, or alerts, giving you the freedom of choosing and combining.
Built with Material Kit Generator
- Timestamp:
2022-05-25 21:08
- Build ID:
d72e01b0-5c68-47bc-a8cf-9e768a731776
- Free Support (registered users) via
Email
andDiscord
Features
Up-to-date dependencies
- Render Engine: Flask / Jinja2
Step 1 - Download the code from the GH repository (using
GIT
)
$ # Get the code
$ git clone https://github.com/app-generator/jinja-material-kit.git
$ cd jinja-material-kit
Step 2 - Edit
.env
and setDEBUG=True
. This will activate theSQLite
persistance.
DEBUG=True
Step 3 - Start the APP in
Docker
$ docker-compose up --build
Visit http://localhost:85
in your browser. The app should be up & running.
Download the code
$ # Get the code
$ git clone https://github.com/app-generator/jinja-material-kit.git
$ cd jinja-material-kit
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_ENV=development
Start the app
$ flask run
At 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
$ # CMD
$ set FLASK_APP=run.py
$ set FLASK_ENV=development
$
$ # Powershell
$ $env:FLASK_APP = ".\run.py"
$ $env:FLASK_ENV = "development"
Start the app
$ flask run
At 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
| | |-- sidebar.html # Left sidebar
| | |-- 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
| | |-- base-fullscreen.html # Used by auth pages (login, register)
| |
| index.html # The default page
| page-404.html # Error 404 page (page not found)
| page-500.html # Error 500 page (server error)
| *.html # All other pages provided by the UI Kit
|
|-- requirements.txt
|
|-- run.py
|
|-- ************************************************************************
For more components, pages and priority on support, feel free to take a look at this amazing starter:
Material Kit 2 is a premium design crafted by the Creative-Tim
agency on top of Bootstrap 5 Framework. Designed for those who like bold elements and beautiful websites, Material Kit 2 is made of hundreds of elements, designed blocks, and fully coded pages built with an impressive level of quality.
- 👉 Flask Material Kit2 PRO - product page
- 👉 Flask Material Kit2 PRO - LIVE Demo
Material Kit Flask/Jinja - Open-source starter generated by AppSeed Generator.