choco install make
(Run as Administrator)To get started, clone the repository and run:
$ poetry install
---> Installing dependencies from lock file
---> ...
---> Installing the current project: carpi (0.1.0)
$ poetry shell
$ (carpi) make shell
---> INFO: Application startup complete.
---> INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
$ poetry shell
$ (carpi) make tests
---> plugins: cov-2.12.1
---> collected 5 items
---> tests\test_app.py .....
---> ========== 5 passed in 1.70s ==========
$ poetry shell
$ (carpi) make docker-build
---> docker build -t carpi .
---> [+] Building 29.4s (15/15) FINISHED
$ (carpi) make docker-run
---> docker run -p 5000:80 carpi
---> INFO: Started server process [1]
---> INFO: Waiting for application startup.
---> INFO: Application startup complete.
---> INFO: Uvicorn running on http://127.0.0.1:80 (Press CTRL+C to quit)