Add db support to store articles

This commit is contained in:
dolphinau 2025-07-28 18:47:16 +02:00
parent 06dafb24fc
commit 9c45142083
No known key found for this signature in database
6 changed files with 75 additions and 23 deletions

7
justfile Normal file
View file

@ -0,0 +1,7 @@
clean:
rm -rf target
podman network rm lwn-sub-snoozer || true
db:
podman network create lwn-sub-snoozer || true
podman run --name postgres --rm -p 5432:5432 --network=lwn-sub-snoozer -e POSTGRES_DB=dev -e POSTGRES_USER=root -e POSTGRES_PASSWORD=root docker.io/postgres:alpine