Build streamview from the source code
Most persons do not need this page. To use streamview, see Install streamview.
Build from the source code when you change streamview, or when you want a version that has no release.
Build the program
Section titled “Build the program”You need Rust and the streamview source code.
- Go to the directory of the source code.
- Run this command:
cargo install --path serverThe command builds one program, streamview, and puts it on your path.
The build adds the wasm32-unknown-unknown Rust target if it is not there.
Build the program but do not install it
Section titled “Build the program but do not install it”- Go to the directory of the source code.
- Run
./build.sh.
The program is then at target/release/streamview.
Run the tests
Section titled “Run the tests”cargo test --workspaceBuild the container image
Section titled “Build the container image”You need only Docker.
docker build -t streamview .Then use streamview as the image name, where the documentation shows ghcr.io/event-catalog/streamview.