readme for portable server

This commit is contained in:
Priec
2026-08-14 13:59:23 +02:00
parent 0e79c62511
commit 0bca319a50
3 changed files with 25 additions and 7 deletions

View File

@@ -34,6 +34,17 @@ To connect a client to a second server instance, override its gRPC endpoint:
GRPC_ENDPOINT='http://[::1]:50052' cargo watch-client
```
## Server database builds
| Build | PostgreSQL | Intended use |
|---|---|---|
| `cargo build --release --package server` | Upstream embedded | Development and compatible Linux targets |
| `nix build '.?submodules=1#portable-server'` | Musl embedded | Portable x86-64 Linux deployment |
| `cargo build --release --package server --no-default-features` | External | Separately managed PostgreSQL |
All builds contain and apply the SQLx migrations. See
[`server/README.md`](server/README.md) for configuration.
Client with tracing:
```