From 829923ed46c1f26c593369244ca090bcea7be98e Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Fri, 6 Oct 2023 08:00:51 +0200 Subject: [PATCH] Installation instructions --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 642bc12..499dd06 100644 --- a/README.md +++ b/README.md @@ -13,3 +13,12 @@ Additional notes: - Periodically, empty UDP packets are being sent to avoid NAT timeouts. - The number of clients is restricted (to avoid abuse). - A small delay is introduced (to avoid abuse). + +## Installation +For compiling m32chat, you only need a recent Rust toolchain. [rustup.rs](https://rustup.rs/) could help you with it. + +- After getting the source code, you can compile it with `cargo build --release`. +- Copy the binary for example to `/usr/local/bin/`. +- You can use the systemd template for m32chat and adapt it to your needs (i.e. customize the user name under which the service should run). + +Setting the environment variable `RUST_LOG=Debug` will give you some debug messages. \ No newline at end of file