For now? I'm experimenting on an old concept.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Refine local-devel-prep

+9 -5
+9 -5
Justfile
··· 56 56 [doc("Just runs the Podman image for a Redis and Postgres server for local development run to connect to.")] 57 57 [group("local-devel")] 58 58 local-devel-prep: create-data-dirs 59 - # The redis container can be replaced if it already exists, but the postgres container needs to be checked, due to 60 - # sqlx needing to connect to it to create the database and run the migrations, so if it is restarted, it may not be 61 - # ready by the time sqlx tries to connect. 62 - podman run --replace --name lumina-redis -p 6379:6379 -v ./data/redis:/data -d docker.io/redis/redis-stack:7.2.0-v18 59 + @podman inspect -f '{{{{.State.Running}}}}' lumina-redis 2>/dev/null | grep -q 'true' \ 60 + && echo "lumina-redis is already running." \ 61 + || podman run -d --replace \ 62 + --name lumina-redis \ 63 + -p 6379:6379 \ 64 + -v ./data/redis:/data \ 65 + docker.io/redis/redis-stack:7.2.0-v18 63 66 @podman inspect -f '{{{{.State.Running}}}}' luminadb 2>/dev/null | grep -q 'true' \ 64 67 && echo "luminadb is already running." \ 65 - || podman run -d -p 5432:5432 \ 68 + || podman run -d --replace \ 69 + -p 5432:5432 \ 66 70 --name luminadb \ 67 71 -e POSTGRES_USER=lumina \ 68 72 -e POSTGRES_PASSWORD=lumina_pw \