Developer docs/Get started
Getting started
#Requirements
- Rust stable with the
wasm32-wasip2target (rustup target add wasm32-wasip2) for building addons. - PostgreSQL 14 or newer.
- Node.js with pnpm for the frontend.
#Run it
PELTY_ADMIN_PASSWORD='a long strong password'
Every setting is an environment variable. The full list, with defaults, is in Configuration. Server sub-commands are in CLI.
#The docs themselves
make docs runs cargo run -p pelty-docs -- target/docs and writes HTML, Markdown and JSON. The server publishes that folder at /docs:
PELTY_DOCS_DIRsets the folder (defaulttarget/docs).PELTY_DOCS_PUBLIC=trueopens the docs to everyone. By default only signed-in staff can read them.
Staff open them from Developer docs in the admin sidebar.
#What you can extend
- WASM addons (
engine: "wasm"): gateways, provisioning modules, registrars, captcha, SSO and general integrations. They run sandboxed and can only use the capabilities an admin approved. Start with Write a plugin in Rust. - Webhook plugins: an external HTTPS service receives signed domain events. See Events and hooks.
- Themes: design tokens, a logo, a stylesheet or a complete frontend bundle. See Themes.