Skip to content

Building from Source

You'll need the .NET 10 SDK, Node.js 22+, and Rust 1.94+ (matching what the Dockerfile builds with).

git clone https://github.com/regix1/lancache-manager.git
cd lancache-manager

# Rust processor
cd rust-processor && cargo build --release

# Web interface
cd ../Web && npm install && npm run dev  # http://localhost:3000

# API
cd ../Api/LancacheManager && dotnet run  # http://localhost:5000

Rust tests (from rust-processor/):

cargo test --no-fail-fast

15 of the tests need a PostgreSQL server. Point DATABASE_URL at one (for example postgres://lancache:lancache@127.0.0.1:5432/lancache) and they run too; without it they fail with a connection error instead of silently skipping.

Multi-arch Docker build:

docker buildx build \
  --platform linux/amd64,linux/arm64 \
  -t ghcr.io/regix1/lancache-manager:latest \
  --push .