Build from source
Steps on how to build Wyrm from source.
Prerequisites
Section titled “Prerequisites”- Rust (stable toolchain)
- PostgreSQL
- Node.js
- pnpm
Build from source
Section titled “Build from source”First clone the repository:
git clone git@github.com:wyrmrss/WyrmRSS.gitRun the backend:
cargo run -p serverThe server reads configuration from config/wyrm.toml in the working directory. Copy and edit the example:
cp config/wyrm-example.toml config/wyrm.tomlThen install dependencies and run the frontend:
export WYRM_BACKEND_URL="http://localhost:3001"
cd webpnpm installpnpm buildpnpm previewConfiguration
Section titled “Configuration”Backend configuration via config/wyrm.toml:
port = 3001# api_key = "secret123!"database_connection = "postgres://wyrm:wyrm@localhost/wyrm"database_pool_size = 25 # default 30Settings can also be overridden with environment variables prefixed WYRM_, e.g. WYRM_PORT=8080.
Open Wyrm at http://localhost:3000.