Cookie-Cutter Flask Sites
Flask Cookie-Cutter is an open-source cookiecutter
template built on top of a simple Flask codebase with a modern design. For newcomers, Cookiecutter is a command-line utility that creates projects from project templates and Django is a leading web framework built by experts using a batteries-included concept.
- UI Themes:
Pixel Lite
/Material Kit
- Generated Projects Features:
Up-to-date dependencies
: Flask 2.0.1SCSS
->CSS
compilation via Gulp- Persistence:
SQLite
/MySql
/PostgreSQL
Session-Based Authentication
, Forms validation- Deployment:
Gunicorn
/Nginx
- One-line Docker setup
docker-compose up --build
Project Customization:
- Project information:
name
,author
,email
- Database Engine:
SQLite
,MySql
orPostgreSql
- UI Themes:
- LIVE Preview: Pixel Lite
- LIVE Preview: Material Kit
Links
- Flask Apps - index provided by AppSeed
- Open-Source Dashboards - crafted in Flask, Django, React
- Support via Github (issues tracker) and Discord.
Step #1 - Create a virtual environment
$ # Virtualenv modules installation (Unix based systems)
$ virtualenv env
$ source env/bin/activate
$
$ # Virtualenv modules installation (Windows based systems)
$ # virtualenv env
$ # .\env\Scripts\activate
Step #2 - Install Depenedencies
$ # Install modules - SQLite Storage
$ pip3 install -r requirements.txt
Step #3 - Generate the project
$ cookiecutter /~https://github.com/app-generator/cookiecutter-flask-sites.git
Step #1 - Install Dependencies
$ pip3 install cookiecutter
$ pip3 install GitPython
$ pip3 install appseed-shell
Step #2 - Launch the Python shell and generate the product
$ python
>>> from appseed_shell import generate_flask_sites
>>> generate_flask_sites()
For more resources and support please access:
- AppSeed - For more starters and support
- AppSeed Shell - source code (MIT License)
Cookie-Cutter Flask - Provided by AppSeed App Generator.