A Cookiecutter template for Flask projects.
Naturally, you need Cookiecutter on your system first. Installation is straightforward via pip:
$ pip3 install --user cookiecutterAdditionally, you will need Docker in order to run the Flask project.
Starting a new Flask project with this Cookiecutter is dead simple:
$ cookiecutter https://github.com/has-to-be/cookiecutter-flask.gitYou will be prompted for a project name and a project slug, the latter of which must be a valid Python identifier that does not start with an underscore character. You will also be asked for an optional project description as well as author information.
Once all steps are done, you will end up with a new directory named after the project slug. Change into that directory and launch the service with the built-in Flask development server:
$ docker-compose up -dThat’s it!