wala-rust

Content-adressed HTTP file server
Info | Log | Files | Refs | README | LICENSE

commit c40e6e99898e912723b097cc939c642ccc6150c7
parent d21730d8c929d3fb8eee3b5460effa6eabea40af
Author: lash <dev@holbrook.no>
Date:   Wed, 10 Jul 2024 17:15:38 +0100

Add readme txt

Diffstat:
AREADME.txt | 32++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+), 0 deletions(-)

diff --git a/README.txt b/README.txt @@ -0,0 +1,32 @@ +Build the binaries: + +$ cargo build --all-features --release + +Build the Docker image: + +$ docker build -t wala:latest . + +or + +$ docker buildx build -t wala:latest . + +Running the server + +$ ./target/release/wala -d <storage_directory> + +Logging output detail can be adjusted by setting environment variable RUST_LOG to debug, info, warn or error. + + +Upload the string "foo" using the send tool + +$ ./target/release/wala_send -u http://localhost:8000 foo + + +Upload the string "xyzzy" under a mutable reference with keyword "foo" using the send tool: + +$ ./target/release/wala_send -u http://localhost:8000 -k <pgp key fingerprint> -i bar xyzzy + + +Note! + +Wala is not intended to be used by itself in a production environment. Please consider setting a reverse proxy in front of it.