FYI: Dockerコンテナ上で動くPythonの開発環境のテンプレートを作ってみた
- Tool to run Docker like Docker Desktop
- I highly recommend to use OrbStack
git clone https://github.com/tamtam-fitness/python-template-based-on-docker.git <new-project>
cd <new-project>
rm -rf .git
To start development, you are supposed to run the following command:
make setup
make enter_container
make lint
make format
If you want to run all tests, you can run the following command:
make test
If you want to run the specific test, you can run the following command:
make enter_container
poetry shell
poe test tests/{file or directory you want to test}