SubVT in testing and production environments is run on Docker using Docker Compose, however it's also possible to build and run standalone executables.
Make sure you have the latest Rust toolchain and Docker installed. You also need to have wasm32-unknown-unknown
added to your
Rust toolchain as a target. You can install it with the command rustup target add wasm32-unknown-unknown
. Then follow the
steps below.
git clone https://github.com/helikon-labs/subvt-backend.git
cd subvt-backend
cargo build
for the debug build, orcargo build --release
for the release build (recommended).
Just execute the shell script _docker/docker_build.sh to build Docker container images for all SubVT executable components. Images will be built and installed into your local Docker repository.