I made a demo how this could look like here:
https://www.gibney.org/from_debian_to_web_app
It shows how to create a Django web application from scratch. Starting with a fresh Debian installation or container.
Do you find this useful? It could be expanded to compare different frameworks setting up the same project. Django, Flask, Symfony, Laravel ...