A template project for a flask-based Python microservice
- Working Docker environment
- GNU Make
make- build, start, and watch logsmake startmake stopmake clean- clean rebuild (for extreme debugging)make shell- log into the running container of the microservice, for debuggingmake redis- launch redis cli for debuggingmake logs- tail combined logs from the service and the dbmake logs-appmake logs-dbmake lint- pylint codemake test- run unit and functional testsmake add package="pytest"- adds a module (in this case: "pytest") inside a running container and saves it to the requirements.txt.