Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.08 KB

BUILD.md

File metadata and controls

23 lines (16 loc) · 1.08 KB

Building SubVT

SubVT in testing and production environments is run on Docker using Docker Compose, however it's also possible to build and run standalone executables.

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.

  1. git clone https://github.com/helikon-labs/subvt-backend.git
  2. cd subvt-backend
  3. cargo build for the debug build, or cargo build --release for the release build (recommended).

Docker Containers

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.