Prerequisites
Before starting development, ensure you have:- Node.js and pnpm installed
- Rust and Tauri CLI configured
- macOS 26.0 or later (for running the app)
- Apple Container CLI downloaded
Initial Setup
Download Apple Container CLI
Download the required Apple Container CLI binaries:This script downloads and extracts the Apple Container CLI from GitHub releases to
src-tauri/binaries/sidecar/apple-container/.Running Development Server
Start the development server with hot reload:- Runs
vite devto start the frontend development server onhttp://localhost:1420 - Launches the Tauri application with hot reload enabled
- Watches for file changes and automatically reloads
Alternative Development Commands
Run only the Vite development server:Development Workflow
Making Schema Changes
When you update the database schema:Code Quality Checks
Run type checking during development:Development Build (Test)
Create a development build for testing without full production optimizations:src-tauri/target/debug/ for testing purposes.
Troubleshooting
Build Issues
If you encounter build errors, try cleaning and rebuilding:Database Issues
If migrations aren’t applying correctly:Tauri Configuration Check
Verify your Tauri setup:Environment Variables
For development, create a.env file in the project root:
Project Structure
Key directories during development:Next Steps
- Production Build - Build for production deployment
- Code Signing - Configure macOS code signing