Add db support to store articles
This commit is contained in:
parent
06dafb24fc
commit
9c45142083
6 changed files with 75 additions and 23 deletions
7
justfile
Normal file
7
justfile
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue