Skip to content

tobias-piotr/debug_hell

Repository files navigation

Debug Hell

Sample app for the VSCode debugging article

Installation

Create a .env file. You can find an example in /infra/example.env.

Build Docker image

docker compose build

Start Docker containers

docker compose up

Both FastAPI app and Postgres database should be running.

To migrate the database tables, first exec into the FastAPI container

docker compose exec fastapi bash

And then, run the migration script

python debug_hell/database/migrate.py

About

Sample app for the VSCode debugging article

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published