aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-10-15 13:33:01 +0200
committermetamuffin <metamuffin@disroot.org>2023-10-15 13:33:01 +0200
commitbde80a475840c1d41f55e07fe0b8ff38119e76c6 (patch)
tree402737bf6b306fcf75e485489b79c9bcb37bae67 /readme.md
parent3bfc876c63871f5e3e497df2aeb33721acb90c0b (diff)
downloadkeks-meet-bde80a475840c1d41f55e07fe0b8ff38119e76c6.tar
keks-meet-bde80a475840c1d41f55e07fe0b8ff38119e76c6.tar.bz2
keks-meet-bde80a475840c1d41f55e07fe0b8ff38119e76c6.tar.zst
read config at runtime
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/readme.md b/readme.md
index 470ad40..72969da 100644
--- a/readme.md
+++ b/readme.md
@@ -34,16 +34,16 @@ should help:
pacman -S --needed esbuild rustup make coreutils; rustup install nightly
git clone https://codeberg.org/metamuffin/keks-meet.git
cd keks-meet
-cp config/client.example.toml config/client.toml # use the example config. the defaults work.
-make install-server # binaries will be copied to ~/.cargo/bin
-# make install # installs the for-now-broken client applications too
+make install-server # binaries will be installed to ~/.cargo/bin
+keks-meet-server config/client.example.toml
```
When changing code, use `make watch` to re-build things automatically as needed.
(requires `cargo install systemfd cargo-watch`)
-The client configuration file (`config/client.toml`) configures the client and
-requires server recompilation on change for now.
+The server takes a path to the configuration file as its first argument unless
+the `embed_config` feature is used. In that case, the configuration is read from
+`config/config.toml` and embedded into the server binary.
The server's bind address can be controlled using the `BIND` environment
variable. When compilin without debug assertions (release) all assets are