···1212hide = true
1313run = "gleam check"
1414dir = "./client/"
1515+1616+[check-watch]
1717+tools.watchexec = "latest"
1818+description = "Run the server in development mode with file watching"
1919+run = "mise watch --restart -e rs,gleam,toml,css,ts,json --clear=clear check"
+16
mise/tasks/podman.toml
···9494 "podman run -d --replace --name lumina-redis -p 6379:6379 -v ./data/redis:/data --pod lumina-sqlite-pod redis",
9595 "podman run --name lumina-server-sqlite --pod lumina-sqlite-pod -e LUMINA_DB_TYPE=sqlite -e LUMINA_SQLITE_FILE=data/instance.sqlite -e LUMINA_SERVER_PORT=8085 -e LUMINA_SERVER_ADDR=0.0.0.0 -v ./data/:/app/data/:Z lumina-server:latest",
9696]
9797+9898+[development-run-redis]
9999+description = "Just runs the Podman image for a Redis server so that the development run can connect to it"
100100+run = "podman run --replace --name lumina-redis -p 6379:6379 -v ./data/redis:/data -d redis/redis-stack:7.2.0-v18"
101101+102102+[development-run-watch-podman]
103103+tools.watchexec = "latest"
104104+description = "Run the server in development mode with file watching"
105105+run = "mise x -- watchexec --restart --stop-timeout=0 --shell=sh -e rs,gleam,toml,css,ts,json mise run pod-up-postgres-no-optimise"
106106+run_windows = "mise x -- watchexec --restart --stop-timeout=0 --shell=cmd -e rs,gleam,toml,css,ts,json mise run pod-up-postgres-no-optimise"
107107+108108+[development-run-watch-podman-sqlite]
109109+tools.watchexec = "latest"
110110+description = "Run the server in development mode with file watching"
111111+run = "mise x -- watchexec --restart --stop-timeout=0 --shell=sh -e rs,gleam,toml,css,ts,json mise run pod-up-sqlite-no-optimise"
112112+run_windows = "mise x -- watchexec --restart --stop-timeout=0 --shell=cmd -e rs,gleam,toml,css,ts,json mise run pod-up-sqlite-no-optimise"
+19
mise/tasks/run.toml
···11+[optimised-development-run]
22+description = "Run the server in release mode for development"
33+depends = "build-server-release"
44+run = "../target/release/lumina-server"
55+run_windows = "..\\target\\release\\lumina-server.exe"
66+dir = "{{ config_root }}/data/"
77+88+[development-run]
99+description = "Run the server in development mode"
1010+depends = "build-server"
1111+run = ["../target/debug/lumina-server"]
1212+run_windows = "..\\target\\debug\\lumina-server.exe"
1313+dir = "{{config_root}}/data/"
1414+1515+[development-run-watch]
1616+tools.watchexec = "latest"
1717+description = "Run the server in development mode with file watching"
1818+run = "watchexec --restart --stop-timeout=0 --shell=sh -e rs,gleam,toml,css,ts,json mise run development-run"
1919+run_windows = "watchexec --restart --stop-timeout=0 --shell=cmd -e rs,gleam,toml,css,ts,json mise run development-run"