···3030/target
31313232# Added by me
3333+client/build/dev/javascript/lumina_client/lumina_client.ts
3434+client/build/
3335/client/priv/static/lumina_client*.css
3436/client/priv/static/lumina_client*.mjs
3537instance.sqlite
+10-12
README.MD
···1010> to Lustre and to websockets and to Rocket, but wanna try
1111> all of them out and make them succeed in this rewrite.
12121313-1413### Environment variables
15141615Part of the configuration is loaded from the database, part of it in environment variables.
1716Environment variables can be set in the _environment_ before run, but Lumina prefers them to be loaded from `$LUMINAFOLDER/.env`.
18171919-| NAME | DEFAULT | FOR |
2020-| ----------------------------------- | ------------------------------------------- | ------------------------------------------------------------ |
2121-| `LUMINA_DB_TYPE` | `sqlite` (not recommended for production) | The kind of database to use. Options are `postgres` or `sqlite`.<br /><br /><br />**OPTIONS:**<br />_With SQLite:_<br />- `LUMINA_SQLITE_FILE` `"instance.sqlite"` SQLite file to connect to. Always a relative path from the instance folder.<br /><br />_With PostGres DB:_<br />- `LUMINA_POSTGRES_PORT` `"5432"` The port to contact the database on. <br>- `LUMINA_POSTGRES_HOST` `"localhost"` The address to contact the database on.<br>- `LUMINA_POSTGRES_USERNAME` `"lumina"` The username to log in to the database with.<br>- `LUMINA_POSTGRES_PASSWORD` (none) The password to log in to the database with. If not set, Lumina will try without.<br>- `LUMINA_POSTGRES_DATABASE` `"lumina_config"` The database to use. <br> |
2222-| `LUMINA_DB_SALT` | `sal` | The salting to use for some data on the database. |
2323-| `LUMINA_SERVER_PORT` | `8085` | Port for Lumina to accept HTTP requests on. |
2424-| `LUMINA_SERVER_ADDR` | `127.0.0.1` | Address for Lumina to accept HTTP requests on. (usually `127.0.0.1` or `0.0.0.0`) |
2525-| `LUMINA_SERVER_HTTPS` | `false` | Wether to use 'https' rather than 'http' in links, etc. (please do!) |
2626-| `LUMINA_SYNC_IID` | `localhost` | A name Lumina uses when communicating with other instances, must be equal to where it's http is facing the public internet |
2727-| `LUMINA_SYNC_INTERVAL` | `30` | Specifies the interval between syncs. Minimum is 30. |
2828-1818+| NAME | DEFAULT | FOR |
1919+| ---------------------- | ----------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
2020+| `LUMINA_DB_TYPE` | `sqlite` (not recommended for production) | The kind of database to use. Options are `postgres` or `sqlite`.<br /><br /><br />**OPTIONS:**<br />_With SQLite:_<br />- `LUMINA_SQLITE_FILE` `"instance.sqlite"` SQLite file to connect to. Always a relative path from the instance folder.<br /><br />_With PostGres DB:_<br />- `LUMINA_POSTGRES_PORT` `"5432"` The port to contact the database on. <br>- `LUMINA_POSTGRES_HOST` `"localhost"` The address to contact the database on.<br>- `LUMINA_POSTGRES_USERNAME` `"lumina"` The username to log in to the database with.<br>- `LUMINA_POSTGRES_PASSWORD` (none) The password to log in to the database with. If not set, Lumina will try without.<br>- `LUMINA_POSTGRES_DATABASE` `"lumina_config"` The database to use. <br> |
2121+| `LUMINA_DB_SALT` | `sal` | The salting to use for some data on the database. |
2222+| `LUMINA_SERVER_PORT` | `8085` | Port for Lumina to accept HTTP requests on. |
2323+| `LUMINA_SERVER_ADDR` | `127.0.0.1` | Address for Lumina to accept HTTP requests on. (usually `127.0.0.1` or `0.0.0.0`) |
2424+| `LUMINA_SERVER_HTTPS` | `false` | Wether to use 'https' rather than 'http' in links, etc. (please do!) |
2525+| `LUMINA_SYNC_IID` | `localhost` | A name Lumina uses when communicating with other instances, must be equal to where it's http is facing the public internet |
2626+| `LUMINA_SYNC_INTERVAL` | `30` | Specifies the interval between syncs. Minimum is 30. |
29273028## Development
3129···3533mise install # Installs mise deps
3634mise run development-watch # Watches every important file and auto restarts build process on changes. Really nice!
3735```
3838-I might just specify it a bit further sometime in the future.
39363737+I might just specify it a bit further sometime in the future.