diff --git a/coordinator/README.md b/coordinator/README.md index 6d0a6262..ae99035f 100644 --- a/coordinator/README.md +++ b/coordinator/README.md @@ -27,8 +27,15 @@ There are drawbacks too, for example: ## Try it out -- Compile the `examples` using `cargo build -p dora-rs --examples` -- Run the `mini-dataflow` example using `cargo run -- run examples/mini-dataflow.yml` +- Compile the dora runtime using `cargo build -p dora-runtime --release` +- Compile the nodes in `examples` using `cargo build -p dora-coordinator --examples --release` +- Compile the Rust example operator through `cargo build --manifest-path ../runtime/examples/example-operator/Cargo.toml --release` +- Compile the C example operator through: + - `cd ../runtime/examples/c-operator` + - `cp ../../../api/c/operator/api.h .` + - `clang -c operator.c` + - `clang -shared -v operator.o -o operator.so` +- Run the `mini-dataflow` example using `cargo run --release -- run examples/mini-dataflow.yml` - This spawns a `timer` source, which sends the current time periodically, and a `logger` sink, which prints the incoming data. - - The `timer` will exit after 100 iterations. The `logger` will then exit with a timeout error. + - The `timer` will exit after 100 iterations. The other nodes/operators will then exit as well because all sources closed.