sozu/doc/getting_started.md

841 B

Getting started

Setting up Rust

Make sure to have the latest stable version of Rust installed. We recommend using rustup for that.

After you did that, Rust should be fully installed.

Setting up Sōzu

Install

sozu is published on crates.io.

To install them, you only have to do cargo install sozu.

They will be built and available in the ~/.cargo/bin folder.

Build from source

Build the sozu executable and command line:

cd bin && cargo build --release --locked

The --release parameter inform cargo to compile sozu with optimizations turned on. Only use --release to make a production version.

The --locked flag tells cargo to stick to dependencies versions as specified in Cargo.lock and thus prevent dependencie breaks.