wala-rust

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

README (869B)


      1 Make sure you use the following toolchain (rustup):
      2 
      3 nightly-2022-11-14-x86_64-unknown-linux-gnu
      4 
      5 Build the binaries:
      6 
      7 $ cargo build --all-features --release
      8 
      9 Build the Docker image:
     10 
     11 $ docker build -t wala:latest . 
     12 
     13 or
     14 
     15 $ docker buildx build -t wala:latest . 
     16 
     17 Running the server
     18 
     19 $ ./target/release/wala -d <storage_directory>
     20 
     21 Logging output detail can be adjusted by setting environment variable RUST_LOG to debug, info, warn or error.
     22 
     23 
     24 Upload the string "foo" using the send tool
     25 
     26 $ ./target/release/wala_send -u http://localhost:8000 foo
     27 
     28 
     29 Upload the string "xyzzy" under a mutable reference with keyword "foo" using the send tool:
     30 
     31 $ ./target/release/wala_send -u http://localhost:8000 -k <pgp key fingerprint> -i bar xyzzy
     32 
     33 
     34 Note!
     35 
     36 Wala is not intended to be used by itself in a production environment. Please consider setting a reverse proxy in front of it.