From a2188e2c7faab7491045395f5c436dd1dd046a79 Mon Sep 17 00:00:00 2001 From: Dave Date: Mon, 16 Feb 2026 16:02:30 +0000 Subject: [PATCH] Smoothing out some tauri conversion leftovers --- Cargo.toml | 3 --- README.md | 17 +++++++++++++++-- frontend/.vscode/extensions.json | 3 --- frontend/index.html | 20 ++++++++++---------- frontend/public/tauri.svg | 6 ------ 5 files changed, 25 insertions(+), 24 deletions(-) delete mode 100644 frontend/.vscode/extensions.json delete mode 100644 frontend/public/tauri.svg diff --git a/Cargo.toml b/Cargo.toml index 9be8ecb..9030278 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,6 +18,3 @@ walkdir = "2.5.0" eventsource-stream = "0.2.3" rust-embed = "8" mime_guess = "2" - -[workspace.dev-dependencies] -tempfile = "3" diff --git a/README.md b/README.md index d524c49..810c2ac 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ This app runs as a single Rust web server binary that serves the Vite/React frontend and exposes APIs. The frontend lives in the `frontend/` directory. -## Running it +## Running it in development ```bash # Build the frontend @@ -13,7 +13,20 @@ pnpm build cd .. # Run the server (serves embedded frontend/dist/) -cargo run --manifest-path server/Cargo.toml +cargo run +``` + +## Running it in production + +```bash +# Build the frontend +cd frontend +pnpm install +pnpm build +cd .. + +# Run the server (serves embedded frontend/dist/) +cargo run ``` diff --git a/frontend/.vscode/extensions.json b/frontend/.vscode/extensions.json deleted file mode 100644 index 24d7cc6..0000000 --- a/frontend/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["tauri-apps.tauri-vscode", "rust-lang.rust-analyzer"] -} diff --git a/frontend/index.html b/frontend/index.html index ff93803..db1fefc 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1,14 +1,14 @@ - - - - - Tauri + React + Typescript - + + + + + Story Kit + - -
- - + +
+ + diff --git a/frontend/public/tauri.svg b/frontend/public/tauri.svg deleted file mode 100644 index 31b62c9..0000000 --- a/frontend/public/tauri.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - -