From 3c4a49b38c80980c3ce5cdad14cfd46a549ea8f8 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 6 May 2026 05:03:35 +0200 Subject: [PATCH] Update documentation on running the Tauri spike environment --- docs/tauri-migration.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/tauri-migration.md b/docs/tauri-migration.md index 370351f..25f2cc7 100644 --- a/docs/tauri-migration.md +++ b/docs/tauri-migration.md @@ -35,6 +35,13 @@ References checked during the spike: - `src-tauri/icons/icon.png` is a placeholder icon required by Tauri context generation. - `src/desktop/desktopApi.js` still prefers Electron. When Electron is absent and Tauri is present, it invokes matching Tauri commands. Without either desktop bridge, it falls back to safe defaults so the renderer can mount. +## Running The Spike + +- Normal Electron development remains `npm run dev`. +- After installing npm dependencies, Tauri development is `npm run dev:tauri`. +- The Tauri config starts only the Vite renderer; start the FastAPI backend separately when testing chat flows. +- If Vite is already running on `127.0.0.1:5173`, reuse it with `npm run tauri -- dev --config '{"build":{"beforeDevCommand":""}}'`. + ## Intentional Non-Goals - No Electron files, scripts, or IPC behavior were removed.