ContributingDevelopment setup
Build Ferry
Build the dashboard first. Then cargo builds the server and the CLI.
Dashboard. npm writes the dashboard to web/dist. This step is optional.
1 / 3
Build the dashboard (optional)
cd web && npm ci && npm run build && cd ..ferry-api embeds web/dist when it compiles.
Build the programs
cargo buildcargo makes a debug build: target/debug/ferryd and target/debug/ferry.
Then start the server.
A release build
cargo build --releaseA release build puts the programs in target/release/.
The server works without web/dist. The page at / then explains how to build the dashboard.
To work on the dashboard itself, see Web client.