From 77c8c97a4dc27ac35ba8d4fc7ee869343baee844 Mon Sep 17 00:00:00 2001 From: fozzie Date: Mon, 21 Jul 2025 19:09:45 -0500 Subject: [PATCH] Better documentation --- README.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7d2b1f3..5a04393 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,23 @@ A waterslager is a type of canary. ## Local development -1. 'cargo run' as normal +1. If desired, set development values in .env -2. Open http://localhost:3000 +2. 'cargo run' as normal + +3. Open http://localhost:3000 + +## Building + +```NETTLE_STATIC=yes cargo build``` + +You probably need to install nettle's static libs through your package manager. You can omit the flag but the binary that links dynamically against nettle may have linkage problems when deployed to another host. + +## Running in production + +Set APP_ROOT=/foo to run the application in a subpath. + +Set RUST_LOG=info for more verbose output. ## Adding a trusted signer cert -- 2.52.0