Note: Only necessary if you haven't installed rust.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo build --release
cargo run --release --bin mj-server -- --help
mj-server 0.1
James Wang <[email protected]>, Rishi Desai <[email protected]>
MapleJuice daemon
USAGE:
mj-server [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-b, --base_path <BASE_PATH> Base path for storing files [default: files]
-l, --log <LOG_PATH> File to log to (default: stdout)
-m, --master <MASTER> The hostname of the master
-p, --port <PORT> Base port for all services [default: 3000]
Examples:
Start MapleJuice on port 3000
cargo run --release --bin mj-server -- -p 3000
Start the server on port 3000, with master 127.0.0.1:3000
cargo run --release --bin mj-server -- -p 3000 -m 127.0.0.1:3000
cargo run --release --bin mj-client -- --help
mj-client 0.1
James Wang <[email protected]>, Rishi Desai <[email protected]>
MJ Client
USAGE:
mj-client [OPTIONS] --master <MASTER>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-c, --cmd <COMMAND> Single command to run with client.
-m, --master <MASTER> The host for the master
Examples:
Start the client with master 127.0.0.1:3000
cargo run --release --bin mj-client -- -m localhost:3000