Skip to content

Run the server

These steps assume you have checked the Requirements and installed the Rust toolchain, ffmpeg and sqlite3.

Terminal window
git clone https://gitlab.com/wavves/audioland/server.git

Copy the example config and edit it for your machine:

Terminal window
cd server
cp config.example.toml config.toml

The binary looks for config.toml in the current directory and its parents. Alternatively, point AUDIOLAND_CONFIG at the file you want it to use. The fields and environment overrides the audit confirms are listed in Server configuration.

The Rust manifest lives in backend/, so run the install from there:

Terminal window
cd backend
cargo update

Still from backend/:

Terminal window
cargo run

At startup the server applies the SQLite schema migrations in database/migrations/ to your data.db.

Terminal window
curl http://127.0.0.1:3000/api/health

The server binds to server_host:server_port from your config, by default http://127.0.0.1:3000 - reachable only from this machine. If the desktop app runs on another computer, set server_host to the server’s LAN address so the player can reach it. Firewall rules are out of scope here: the Debian and LXC deploy scripts handle opening port 3000/tcp for production hosts - see Deploying the server.