In all cases a "full" (i.e. kernel + GNU userspace + systemd) Linux system is assumed, the distro itself should not matter. WSL2 should probably work, but has not been extensively tested.
- Install Nix using the Determinate Installer.
- Install direnv.
git clone https://github.com/STFC-ICD-Research-and-Design/supermusr-data-pipelinecd supermusr-data-pipelinedirenv allow
You should now be set up to build the various components of the data pipeline. A list of useful commands to get started:
cargo build: build library/binary (in debug mode by default) or all if run in the root of the repositorycargo test: run unit tests for a library/binary or all if run in the root of the repositorytreefmt: format all codenix flake show: list the things that can be built via Nixnix build .#<something>: build something via Nix
- Follow the Redpanda quickstart for a single broker.