A Flask starter application with Auth, logging, db and CI/CD covered.
The following libraries will be used for building the application.
heavyweight
│
│ flask/
│ │
│ │ app/
│ │ │ auth/
│ │ │ status/
│ │ │ ...
│ │ │ ...
│ │ └───────
│ │ config/
│ │ │ local
│ │ │ prod
│ │ │ ...
│ │ └───────
│ │ migrations/
│ │ tests/
│ │ │ unit/
│ │ │ integration/
│ │ │ ...
│ │ └───────
│ │ requirements.txt
│ │ Dockerfile
│ │ entrypoint.sh
│ │ setup.cfg
│ └────────────────────────
│ nginx/
│ Postgresql/
│ entrypoint.sh
│ requirements.txt
│ docker-compose.yml
└────────────────────────
System requirements
Install required packages
# create virtual env
cd flask/
python3 -m venv env
# Activate the environment
source ./env/bin/activate
# Install packages
pip3 install -r requirements.txt