The selfhostable cookbook
- A MongoDB database
- A recent Rust-Nightliy
- Clone the repo
- Build in release mode (
cargo build --release
) - Add a
Rocket.toml
file to your workdir (More Information):The secret key is used to encrypt and sing cookies and can be generated by executing[global.databases.mongodb] url = <MongoDB URL> [production] address = <Binding Address> port = <Binding Port> secret_key = <Secret Key>
openssl rand -base64 32
- Deploy the frontend
- Start the application