Skip to content

AOx0/adam

Repository files navigation

adam

Prerequisites

Cranelift Codegen Backend

rustup component add rustc-codegen-cranelift-preview --toolchain nightly

Dependencies

  1. Install lld: paru -S lld; sudo apti-get install lld
  2. Install bpf-linker: cargo install bpf-linker
  3. Install zellij: cargo install zellij
  4. Install cargo-watch: cargo install cargo-watch
  5. Install just: cargo install just
  6. Install hurl: cargo install hurl

You may install all packages via your package manager, for example, for Arch Linux:

paru -S just hurl zellij cargo-watch lld
cargo install bpf-linker

Run

All recipe definitions are available at the justfile.

Everything

To run all components, execute:

just run

You may also specify the firewall wifi interface you want to attach to:

just run wlan0

Backend

To run up to the controller perform a:

just run-simple

Frontend

To run the frontend perform a:

just run-front-watch

Documentation

For detailed instructions on how to run the code, please refer to the Latex documentation.