update CLAUDE.md, README.md and justfile

This commit is contained in:
2026-05-15 11:05:45 +02:00
parent 2bbd2ac869
commit 2e3d6a9abb
8 changed files with 56 additions and 228 deletions
+12 -27
View File
@@ -2,7 +2,13 @@
## Description
Simple server and GUI for LAN parties.
Peer-to-peer game library sharing for LAN parties.
- Peers let users browse and download games from each other
- they discover each other on the local network via mDNS
- they exchange library metadata over QUIC
Ships as a Tauri desktop app.
## Development
@@ -15,33 +21,12 @@ cargo install tauri-cli
# install Deno with a package manager or from https://deno.land/
```
### Build
#### Frontend
### Build or Run
```bash
# Development
cargo tauri dev # prefix with RUST_LOG=your_module=debug or similary for more verbose output
# build
just build
# Production but for testing and without bundling
cargo tauri build --no-bundle
# Production
cargo tauri build -- --profile release-lto # also bundles everything into a nice platform-specific installer
# on wayland you probably need to set this env var
WEBKIT_DISABLE_DMABUF_RENDERER=1
# update frontend dependencies
deno outdated --update --latest
```
#### Backend
```bash
# Development
./server.sh [options...] # prefix with RUST_LOG=your_module=debug or similary for more verbose output
# Production
cargo build --profile release-lto -p lanspread-server
# run
just run
```