From b0b16eecd8d9344a75960b35cd477390facf316d Mon Sep 17 00:00:00 2001 From: Eve <139727413+netrunnereve@users.noreply.github.com> Date: Fri, 1 Nov 2024 15:40:30 +0000 Subject: [PATCH] add more details for how to build from source --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 16be29e..bf67e38 100644 --- a/README.md +++ b/README.md @@ -290,6 +290,14 @@ git clone https://github.com/redlib-org/redlib && cd redlib cargo run ``` +Note that the above command will compile a debug build with logging and run the binary automatically. Use the following command to compile a release build with no logging. + +``` +cargo build --release +``` + +The compiled release binary can be found in `target/release/redlib`. + ## Replit/Heroku > [!WARNING]