readme for portable server
This commit is contained in:
11
README.md
11
README.md
@@ -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:
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user