-
Notifications
You must be signed in to change notification settings - Fork 0
Development Setup
John V. Teixido🍉 edited this page Mar 26, 2026
·
2 revisions
RootSpace is a monorepo consisting of a Rust engine and a Node.js dashboard. Follow these steps to set up your local development environment.
-
Rust toolchain (
>= 1.85.0) -
Node.js (
>= 20.x) -
npm (
>= 10.x) -
CMakeand a C compiler (forrusqlite/wasmtimedependencies)
git clone https://github.com/johnvteixido/RootSpace.git
cd RootSpaceThe Rust backend is located in the rust-v2 directory.
cd rust-v2
cargo build --releaseNote: We recommend building in --release mode for testing, as wasmtime execution can be noticeably slower in debug builds.
The dashboard and companion APIs are located in the root and dashboard/ directory.
# From the repository root
npm install
cd dashboard
npm installIt's easiest to run the Node server and the Rust engine in separate terminal windows.
Terminal 1 (Rust):
cd rust-v2
cargo run -- runTerminal 2 (Node):
npm run devRootSpace utilizes automated CI, so ensure all local tests pass before opening a Pull Request.
Rust Tests:
cd rust-v2
cargo test
cargo clippy -- -D warningsNode Tests:
npm test