getting-started/local-build.md
Local Build And Interface
Prerequisites
- Bun
1.x - Docker (for image testing)
- Python 3 (optional, for serving prototype UI)
Build And Run Server
bun install
cd packages/shared && bun run build
cd ../../apps/server && bun run dev
Server default URL:
http://localhost:3000
Test Suite
cd apps/server
bun test
Build Docker Image Locally
docker build -f docker/Dockerfile -t mino-server .
docker run --rm -p 3000:3000 -v mino-data:/data mino-server
Local Interface Options
Option A: Hosted clients
Use:
https://test.mino.inkhttps://mino.ink
Option B: Prototype UI from this repo
cd prototype
python3 -m http.server 5173
Open:
http://localhost:5173
Local Linking
Use setup endpoint from your local server:
http://localhost:3000/api/v1/system/setup
Then use the links.connect.localUi URL or manually pass:
serverUrl=http://localhost:3000apiKey=<YOUR_KEY>
Relay mode note:
- if server is in relay mode, setup links for hosted UI use
relayCode. - local UI links are generated only in
open-portmode.
Current state:
- local client supports
/linkauto-linking. - spec:
../reference/link-handler-spec.md