···62626363## Local setup
64646565-Environment is configured via environment variables. For development, the server prefers a `.env` file in your instance folder: `$LUMINAFOLDER/.env`.
6565+Local setup is pretty easy with mise, and to not do it with mise is actually kind of unthinkable for me at this point.
66666767-Key variables (defaults exist for development):
6868-- `LUMINA_DB_TYPE` — `sqlite` or `postgres` (default: `sqlite`)
6969-- `LUMINA_REDIS_URL` — `redis://127.0.0.1/`
7070-- `LUMINA_SERVER_ADDR` — `127.0.0.1`
7171-- `LUMINA_SERVER_PORT` — `8085`
7272-- And others described in `README.MD`
6767+Typical preparation:
6868+```sh
6969+# From repo root
7070+mise install
7171+mise run build-env-image-podman # Build the environment image for podman, allowing you to build quicker.
7272+# And then later:
7373+mise run development-run-podman
7474+```
73757474-First-time setup:
7676+Running bare-metal is usually prepared:
7777+7578```sh
7679# From repo root
7780mise install
7878-mise run build-server
8181+mise run development-run-redis # Because you'll need a Redis server running locally.
8282+# And then later:
8383+mise run development-run
7984```
8585+The README should have some environment variables you could set.
80868187Development run options:
8288```sh