this repo has no description
0
fork

Configure Feed

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

Add local-devel tasks to just.

+50 -30
+21
Justfile
··· 50 50 rm -rf ./client/build/dev/javascript/lumina_client/lumina_client.ts 51 51 rm -rf ./client/priv/static/lumina_client.min.mjs 52 52 rm -rf ./client/priv/static/lumina_client.css 53 + 54 + [doc("Just runs the Podman image for a Redis and Postgres server for local development run to connect to.")] 55 + [group("local-devel")] 56 + local-devel-prep: create-data-dirs 57 + podman run --replace --name lumina-redis -p 6379:6379 -v ./data/redis:/data -d docker.io/redis/redis-stack:7.2.0-v18 58 + 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 59 + 60 + [doc("Run the server in development mode")] 61 + [group("local-devel")] 62 + local-devel $LUMINA_POSTGRES_PASSWORD="lumina_pw": build-server 63 + ./target/debug/lumina-server 64 + 65 + [doc("Run the server in development mode with file watching")] 66 + [group("local-devel")] 67 + local-devel-watch: 68 + watchexec --restart --stop-timeout=0 --shell=sh -e rs,gleam,toml,css,ts,json -- just local-devel 69 + [doc("Runs the commands from local-devel automatically, watches")] 70 + [group("local-devel")] 71 + dev: 72 + @just local-devel-prep 73 + @just local-devel-watch
+28 -9
mise/tasks/moved-to-just.toml
··· 1 1 # Moved to just, kept here to preserve backwards compatibility. 2 2 3 3 [build-styles] 4 + hide = true 4 5 description = "$just build-styles" 5 - run = ["just build-styles"] 6 + run = "just build-styles" 6 7 7 8 [build-server] 9 + hide = true 8 10 description = "$just build-server" 9 - run = ["just build-server"] 11 + run = "just build-server" 10 12 11 13 [build-client] 14 + hide = true 12 15 description = "$just build-client" 13 - run = ["just build-client"] 16 + run = "just build-client" 14 17 15 18 [build-server-release] 19 + hide = true 16 20 description = "$just build-server-release" 17 - run = ["just build-server-release"] 21 + run = "just build-server-release" 18 22 19 23 [clean-all] 24 + hide = true 20 25 description = "$just clean-all" 21 - run = [ 22 - "just clean-all" 23 - ] 26 + run = "just clean-all" 24 27 25 28 [prefetch-gleam-deps] 26 - description = "$just prefetch-gleam-deps" 27 29 hide = true 30 + description = "$just prefetch-gleam-deps" 28 31 run = "prefetch-gleam-deps" 29 32 30 33 [create-data-dirs] 31 34 hide = true 32 - run = ["just create-data-dirs"] 35 + run = "just create-data-dirs" 33 36 34 37 [bun-install] 38 + hide = true 35 39 description = "$just bun-install" 36 40 run = "just bun-install" 41 + 42 + [local-devel-prep] 43 + hide = true 44 + description = "$just local-devel-prep" 45 + run = "just local-devel-prep" 46 + 47 + [local-devel] 48 + hide = true 49 + description = "$just local-devel" 50 + run = "just local-devel" 51 + 52 + [local-devel-watch] 53 + hide = true 54 + description = "$just local-devel-watch" 55 + run = "just local-devel-watch"
+1 -7
mise/tasks/podman.toml
··· 55 55 description = "Build and tag the lumina-build-environment image from env.Dockerfile" 56 56 run = ["podman build -f env.Dockerfile -t lumina-build-environment ."] 57 57 58 - [local-devel-prep] 59 - description = "Just runs the Podman image for a Redis and Postgres server for local development run to connect to." 60 - depends = ["create-data-dirs"] 61 - run = [ 62 - "podman run --replace --name lumina-redis -p 6379:6379 -v ./data/redis:/data -d docker.io/redis/redis-stack:7.2.0-v18", 63 - "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", 64 - ] 58 + 65 59 66 60 [local-devel-dataexplorer] 67 61 description = "Run pgweb and redis-commander for local development"
-14
mise/tasks/run.toml
··· 1 - [local-devel] 2 - description = "Run the server in development mode" 3 - depends = "build-server" 4 - run = ["./target/debug/lumina-server"] 5 - run_windows = ".\\target\\debug\\lumina-server.exe" 6 - dir = "{{config_root}}/" 7 - env.LUMINA_POSTGRES_PASSWORD = "lumina_pw" 8 - 9 - [local-devel-watch] 10 - tools."cargo:watchexec-cli" = "latest" 11 - description = "Run the server in development mode with file watching" 12 - run = "watchexec --restart --stop-timeout=0 --shell=sh -e rs,gleam,toml,css,ts,json mise run local-devel" 13 - run_windows = "watchexec --restart --stop-timeout=0 --shell=cmd -e rs,gleam,toml,css,ts,json mise run local-devel" 14 - env.LUMINA_POSTGRES_PASSWORD = "lumina_pw"