Standalone Cluster Set Up Guide
Start From Source Code
# clone Lightflus's repo
git clone <https://github.com/JasonThon/lightflus.git>
# set environment variables
export RUST_LOG=INFO
export WORKER_1=localhost
export LIGHTFLUS_COORDINATOR_URI=http://localhost:8791
# run by Cargo
cargo run --manifest-path src/worker/Cargo.toml
cargo run --manifest-path src/coordinator/Cargo.toml
cargo run --manifest-path src/apiserver/Cargo.toml
Start by Docker (Recommended)
# clone Lightflus's repo
git clone <https://github.com/JasonThon/lightflus.git>
# start by docker
docker-compose up