cd path/to/prismcd src-tauricargo tauri devThat's it! The app window should open in a few seconds.
If this is your first time running the app:
-
Install Rust (if not already installed)
# Windows (PowerShell) winget install Rustlang.Rust.MSVC # macOS/Linux curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
-
Verify Installation
rustc --version cargo --version
-
Install Tauri CLI (optional, for convenience)
cargo install tauri-cli --version "^2.0" --locked
cd src-tauri
cargo tauri dev# From project root
npm install
npm run devcd src-tauri
cargo run- Time: 5-10 minutes
- Why: Cargo downloads and compiles all dependencies
- Size: ~500MB in
target/directory - Network: Required for downloading crates
- Time: 5-10 seconds
- Why: Incremental compilation
- Size: Minimal changes
- Network: Not required
- Desktop window appears (1200x800)
- Window is centered on screen
- Dark theme UI is visible
- All features are functional
- Mock responses work immediately
Once the app opens:
-
Make a Request
- Default URL is already filled
- Click "Send" button
- Wait ~800ms for mock response
- Response appears below
-
Check History
- Request appears in left sidebar
- Shows method, URL, status
- Click to reload request
-
Try Different Methods
- Change method to POST
- Click Send
- See different mock response
-
Test Auth
- Click "Auth" tab
- Select "Bearer Token"
- Enter a token
- (Mock doesn't use it yet)
-
Keyboard Shortcut
- Press Ctrl+Enter (Cmd+Enter on Mac)
- Sends request without clicking
When ready to create an installer:
cd src-tauri
cargo tauri buildOutput location:
- Windows:
src-tauri/target/release/bundle/msi/ - macOS:
src-tauri/target/release/bundle/dmg/ - Linux:
src-tauri/target/release/bundle/deb/orappimage/
- Close the window normally
- Or press Ctrl+C in terminal
- Close the window normally
- App exits cleanly
Solution: Install Rust from https://rustup.rs/
Solution: Use cargo tauri instead, or install Tauri CLI
Solution:
- Check terminal for errors
- Try
cargo cleanthen rebuild - Check if port 1420 is available
Solution:
- Update Rust:
rustup update stable - Clean build:
cargo clean - Rebuild:
cargo tauri dev
Solution: Ignore - icons are already generated
Solution:
- Verify all files in
src/are intact - Check browser console (F12) for errors
- Clear localStorage:
localStorage.clear()
Solution: This is normal - subsequent builds are fast
- Edit files in
src/directory - Save changes
- Refresh app window (Ctrl+R or Cmd+R)
- Changes appear immediately
- Edit files in
src-tauri/src/ - Save changes
- Cargo automatically recompiles
- App restarts with changes
- Open DevTools: Right-click → Inspect
- Or press F12
- Console shows JavaScript logs
- Terminal shows Rust output
- Use
println!()for debugging - Or use
dbg!()macro
If you want to test the UI without Tauri:
# From project root
python -m http.server 8000
# Or use any static server
# Then visit: http://localhost:8000/srcNote: This uses mock responses only. Real HTTP requires Tauri.
# Development
cd src-tauri && cargo tauri dev
# Build
cd src-tauri && cargo tauri build
# Check compilation
cd src-tauri && cargo check
# Clean build
cd src-tauri && cargo clean
# Update dependencies
cd src-tauri && cargo update
# View Tauri info
cargo tauri info
# Generate icons
cargo tauri icon icon.png- Use
cargo checkinstead ofcargo buildfor syntax checking - Use
--releaseflag only for production - Keep
target/directory (don't delete)
- Keep app running during UI changes
- Use hot reload (Ctrl+R)
- Only restart for Rust changes
- Close unused apps
- Use
cargo cleanif disk space low - Build in release mode for smaller binary
Once the app is running successfully:
- ✅ Verify all features work
- ✅ Test with different requests
- ✅ Check history persistence
- ✅ Try keyboard shortcuts
- ➡️ Move to Phase 2: Implement HTTP engine
See NEXT_STEPS.md for HTTP implementation guide.
Status: Ready to run! 🚀