Make sure you have postgres running somewhere, an easy way to run it is with docker.
docker run -d -p 5432:5432 -e POSTGRES_USER=postgres -e \
POSTGRES_PASSWORD=postgres se POSTGRES_DB=tcg --name pgdb postgres
cp .env.example .env # Update env vars in .env
poetry install
poetry shell
alembic upgrade head
poetry shell # If not already in a shell
uvicorn app.main:app --reload
poetry shell # If not already in a shell
scripts/test
poetry shell # If not already in a shell
scripts/format