Development

March 24, 2026 ยท View on GitHub

Prerequisites

Setup

git clone https://github.com/codeErrorSleep/dbpaw.git
cd dbpaw
bun install

Run

Frontend-only (Mock Mode) โ€” recommended for UI work:

bun dev:mock

Full app (Tauri + Rust) โ€” for end-to-end testing:

bun tauri dev

Build

bun tauri build

Tests

Run everything:

bun run test:all

Or run a subset:

bun run test:unit
bun run test:service
bun run test:rust:unit
bun run test:integration

Formatting

bun run format

๐ŸŒ Website

  • The official marketing site lives in the website/ directory and is built with Astro.
  • Local development:
    bun run website:dev
    
  • Production build:
    bun run website:build
    

Release Sync Mechanism

  • The website fetches the latest release from: https://api.github.com/repos/codeErrorSleep/dbpaw/releases/latest
  • Version and download links on the website are generated from GitHub release assets.
  • If GitHub API is unavailable during build, website generation falls back to website/src/config/fallback.ts.