This repository contains a boilerplate quick-start for bootstrapping a Python-Flask application. It includes
- the flask app itself,
- dependency management via Poetry,
- basic python dependencies,
- a dockerfile,
- docker-compose integration, including
- a docker-compose Redis cache,
- a Postgres database
- a makefile,
- a basic GitHub Actions workflow for quality checks
To get a new project off the ground ASAP, follow these steps:
- Clone the repository.
- Switch the .git repository origin to your repository details
- Run
make init
to get basic requirements - Rename the
python_flask_template
directory to your application name. - In
docker-compose.yml
, replace instances ofpython_flask_template
with the name you used in step 4. - Develop!