Skip to content

docs: README update setup instructions [skip rust]#1

Merged
BIJJUDAMA merged 1 commit into
developmentfrom
main
May 10, 2026
Merged

docs: README update setup instructions [skip rust]#1
BIJJUDAMA merged 1 commit into
developmentfrom
main

Conversation

@BIJJUDAMA

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings May 10, 2026 07:46
@BIJJUDAMA BIJJUDAMA merged commit 7b97579 into development May 10, 2026
4 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s README to document the required local development workflow for running the Tauri GUI with the Rust daemon sidecar present, aligning the setup steps with how the project is configured (externalBin in Tauri).

Changes:

  • Added a Local Development section describing the sidecar build requirement and where the binary must be placed.
  • Documented platform-specific sidecar build scripts (PowerShell/Bash) and the npm run tauri dev workflow.
  • Added a short explanation of why the sidecar must be built/copied manually (Tauri externalBin + target-triple naming).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md

## Local Development

To run this project in development, you **must build the sidecar (the Rust daemon) yourself first**.
Comment thread README.md
Comment on lines +40 to 76
To run this project in development, you **must build the sidecar (the Rust daemon) yourself first**.

The Tauri `dev` command manages the frontend and the GUI wrapper, but it expects the background daemon to already exist with a specific platform-triple suffix in the `gui/src-tauri/` directory.

### Setup Instructions

1. **Build the Sidecar (Mandatory First Step):**
Open a terminal in the root of the project and run the platform-appropriate script. This builds the daemon and copies it to the correct location with the necessary platform suffix (e.g., `daemon-x86_64-pc-windows-msvc.exe`).

* **Windows (PowerShell):**
```powershell
./scripts/build-sidecar.ps1
```
* **Linux/macOS (Bash):**
```bash
chmod +x ./scripts/build-sidecar.sh
./scripts/build-sidecar.sh
```

2. **Install Frontend Dependencies:**
Navigate to the `gui` directory and install the Node.js packages.
```bash
cd gui
npm install
```

3. **Run the Application in Dev Mode:**
While inside the `gui` folder, start the Tauri development server. This will launch the Vite frontend and the Tauri Rust runner simultaneously.
```bash
npm run tauri dev
```

### Why you have to build it yourself:
The `tauri.conf.json` defines `daemon` as an `externalBin`. Tauri requires these binaries to be present at compile-time with their target triple in the filename. The provided scripts automate the `cargo build`, renaming, and moving processes required for the sidecar to be recognized by the Tauri bundler.



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants