···5050 rm -rf ./client/build/dev/javascript/lumina_client/lumina_client.ts
5151 rm -rf ./client/priv/static/lumina_client.min.mjs
5252 rm -rf ./client/priv/static/lumina_client.css
5353+5454+[doc("Just runs the Podman image for a Redis and Postgres server for local development run to connect to.")]
5555+[group("local-devel")]
5656+local-devel-prep: create-data-dirs
5757+ podman run --replace --name lumina-redis -p 6379:6379 -v ./data/redis:/data -d docker.io/redis/redis-stack:7.2.0-v18
5858+ podman run --replace -d -p 5432:5432 --name luminadb -e POSTGRES_USER=lumina -e POSTGRES_PASSWORD=lumina_pw -e POSTGRES_DB=lumina_config -v ./data/postgres:/var/lib/postgresql/data:Z docker.io/library/postgres:17-alpine3.22
5959+6060+[doc("Run the server in development mode")]
6161+[group("local-devel")]
6262+local-devel $LUMINA_POSTGRES_PASSWORD="lumina_pw": build-server
6363+ ./target/debug/lumina-server
6464+6565+[doc("Run the server in development mode with file watching")]
6666+[group("local-devel")]
6767+local-devel-watch:
6868+ watchexec --restart --stop-timeout=0 --shell=sh -e rs,gleam,toml,css,ts,json -- just local-devel
6969+[doc("Runs the commands from local-devel automatically, watches")]
7070+[group("local-devel")]
7171+dev:
7272+ @just local-devel-prep
7373+ @just local-devel-watch
···5555description = "Build and tag the lumina-build-environment image from env.Dockerfile"
5656run = ["podman build -f env.Dockerfile -t lumina-build-environment ."]
57575858-[local-devel-prep]
5959-description = "Just runs the Podman image for a Redis and Postgres server for local development run to connect to."
6060-depends = ["create-data-dirs"]
6161-run = [
6262- "podman run --replace --name lumina-redis -p 6379:6379 -v ./data/redis:/data -d docker.io/redis/redis-stack:7.2.0-v18",
6363- "podman run --replace -d -p 5432:5432 --name luminadb -e POSTGRES_USER=lumina -e POSTGRES_PASSWORD=lumina_pw -e POSTGRES_DB=lumina_config -v ./data/postgres:/var/lib/postgresql/data:Z docker.io/library/postgres:17-alpine3.22",
6464-]
5858+65596660[local-devel-dataexplorer]
6761description = "Run pgweb and redis-commander for local development"
-14
mise/tasks/run.toml
···11-[local-devel]
22-description = "Run the server in development mode"
33-depends = "build-server"
44-run = ["./target/debug/lumina-server"]
55-run_windows = ".\\target\\debug\\lumina-server.exe"
66-dir = "{{config_root}}/"
77-env.LUMINA_POSTGRES_PASSWORD = "lumina_pw"
88-99-[local-devel-watch]
1010-tools."cargo:watchexec-cli" = "latest"
1111-description = "Run the server in development mode with file watching"
1212-run = "watchexec --restart --stop-timeout=0 --shell=sh -e rs,gleam,toml,css,ts,json mise run local-devel"
1313-run_windows = "watchexec --restart --stop-timeout=0 --shell=cmd -e rs,gleam,toml,css,ts,json mise run local-devel"
1414-env.LUMINA_POSTGRES_PASSWORD = "lumina_pw"