Smoothing out some tauri conversion leftovers
This commit is contained in:
17
README.md
17
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
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user