...
- Install Poetry
- Install packages:
poetry install
- Activate the virtual environment:
poetry shell
- Copy
application.example.yml
toapplication.yml
and change necessary values
- Run server:
uvicorn app.main:app --reload
- Access API docs:
http://localhost:8000/docs
pytest
- (optional) Install Task
- Copy
application.example.yml
toapplication-docker.yml
and change necessary values - Build docker:
docker compose build
ortask build
- Run server:
docker compose up -d
ortask up
- Stop server:
docker compose down
ortask down
Checkout Taskfile.yml
for more idiomatic commands