This is a cookiecutter template used to bootstrap a new Flask backed project. It aims to provide some best practices out of the box, and provide all the necessary infrastructure to get going quickly in any environment.
Here are a few things you'll need globally available on your machine.
- Python 3.8
- asdf (optional)
The cookiecutter
CLI needs to be installed locally. Follow the installation docs here to get everything working. If you already have good python setup locally then cookiecutter
is a quick pip install cookiecutter
away.
Once cookiecutter
is installed, you can use this template by cloning it locally, and then providing it as an argument to cookiecutter
, or just use the direct Bitbucket link.
# provide cookiecutter with local template
cookiecutter flask-scaffold/
# use github uri directly
cookiecutter [email protected]:sammyteahan/cookiecutter-flask.git
- Flask 2.3.2
- Docker
- gunicorn
- esbuild
- Tailwind
- Redis
- Celery
- flake8
- Black
- pytest
- Flask Extensions:
- Flask-DB
- Flask-SQLAlchemy
- Flask-Secrets
- Flask-Static-Digest
- Flask-Marshmallow
- Flask-Httpauth
- Flask-Login
- Flask-Mail
- Flask-WTF
- Flask-Debugtoolbar