ContributingDevelopment setup
Start the server
ferryd run keeps the server in the foreground. You see its log, and Ctrl+C stops it.
./target/debug/ferryd run --data-dir ./ferry-dataWith run, the server keeps the terminal. The log is in front of you, and Ctrl+C stops the server.
1 / 2
What the server prints
ferryd prints the URL of the API. While the server has no account, it also prints the Create your account link.
Open the link one time. It creates the account that you use to sign in to the dashboard.
The data directory
./ferry-data is the default data directory. git ignores it.
| File | Use |
|---|---|
ferry-data/api_token | The server token, for the commands of the next page |
ferry-data/ferryd.log | The log of a server in the background. Read it with ferryd logs -f. |
More detail in the log
Set the variable RUST_LOG before you start the server. The default level is info.
| Value | Result |
|---|---|
RUST_LOG=debug | More detail from each crate |
RUST_LOG=ferry_engine=debug | A filter: more detail from one crate |