项目作者: Raniita

项目描述 :
cookiecutter Flask Template/Boilerplate with Flask-Login, Flask-SQLAlchemy, CI/CD...
高级语言: Python
项目地址: git://github.com/Raniita/cookiecutter-flask-yatf.git
创建时间: 2020-11-23T10:33:12Z
项目社区:https://github.com/Raniita/cookiecutter-flask-yatf

开源协议:GNU Affero General Public License v3.0

下载


YAFT (yes-another-flask-template)

Flask template starter powered with Cookiecutter.

Description

Light starter of fully opinionated Flask template. Based on previous experience. Be free to open an issue or fork this repo.

Usage

Install cookiecutter

  1. $ pip install cookiecutter

on Arch Linux, use:

  1. $ sudo pacman -S python-cookiecutter

Generate the project using the template

  1. $ cookiecutter https://github.com/Raniita/yes-another-flask-template.git

Fill the differents vars for the project.

Optional

  • Configure virtual environment (pipenv, venv, …)
  • Install python package requeriments:
    1. $ pip install -r requeriments.txt
  • Setup git
  • Add License.md

Features

Powered with this extensions:

  • Flask >= 2.0
  • Flask CLI commands
  • Flask-Minify
  • Flask-SQLAlchemy
  • Flask-Migrate
  • Flask-bcrypt
  • Flask-Login
  • Flask-Admin
  • Flask-WTF
  • Flask-RQ2
  • Flask-DebugToolBar

Extras:

  • Blueprints and application factory pattern
  • Continous integration with drone.ci
  • Access control to views based on roles
  • Admin panel (File browser, DB management)
  • Admin dashboard
  • Gotify push notifications
  • Deploy based en Docker [docker-compose]

License

AGPL-3.0