From 27cb108b25c8d860b51e01116aa2312a136610b7 Mon Sep 17 00:00:00 2001 From: Radu Marias Date: Thu, 1 Aug 2024 01:40:42 +0300 Subject: [PATCH] Update README.md --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 40725759..2b09e494 100644 --- a/README.md +++ b/README.md @@ -328,6 +328,20 @@ cargo build --release cargo run --release -- mount --mount-point MOUNT_POINT --data-dir DATA_DIR ``` +#### Dev settings + +If you don't want to be prompted for password you can set this env var and run like this: + +```bash +RENCFS_PASSWORD=PASS cargo run --release -- mount --mount-point MOUNT_POINT --data-dir DATA_DIR +``` + +For dev mode is recommended to run with `DEBUG` log level: + +```bash +cargo run --release -- --log-level DEBUG mount --mount-point MOUNT_POINT --data-dir DATA_DIR +``` + ### Build local RPM for Fedora This is using [cargo-generate-rpm](https://crates.io/crates/cargo-generate-rpm)