A sample implementation of a microservice for the O'Reilly Microservices Up and Running book
- Working Docker environment
- GNU Make
make
- build, start, and watch logsmake start
make stop
make 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-app
make logs-db
make 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.