|
| 1 | +--- |
| 2 | +sidebar_position: 3 |
| 3 | +--- |
| 4 | + |
| 5 | +# Installing ODE Desktop |
| 6 | + |
| 7 | +Complete guide for installing **ODE Desktop** on Windows, macOS, and Linux. |
| 8 | + |
| 9 | +:::info ODE v1.1.0 |
| 10 | + |
| 11 | +ODE Desktop is part of the **ODE v1.1.0** release. Pre-built installers are published on [GitHub Releases](https://github.com/OpenDataEnsemble/ode/releases). |
| 12 | + |
| 13 | +::: |
| 14 | + |
| 15 | +## Overview |
| 16 | + |
| 17 | +ODE Desktop is a native desktop application (Tauri) for: |
| 18 | + |
| 19 | +- **Data management** — inspect, edit, import, and sync observations with Synkronus |
| 20 | +- **Forms / app workbench** — download app bundles, preview forms, and test custom apps |
| 21 | + |
| 22 | +Choose the installation method that fits your role: |
| 23 | + |
| 24 | +| Method | Best for | |
| 25 | +|--------|----------| |
| 26 | +| **GitHub Release** | Data stewards and app authors who want a ready-to-run installer | |
| 27 | +| **Build from source** | Contributors and early adopters working from the ODE monorepo | |
| 28 | + |
| 29 | +## System requirements |
| 30 | + |
| 31 | +| Platform | Requirements | |
| 32 | +|----------|--------------| |
| 33 | +| **Windows** | Windows 10 or 11; [WebView2](https://developer.microsoft.com/en-us/microsoft-edge/webview2/) (usually pre-installed) | |
| 34 | +| **macOS** | Recent macOS; Xcode command-line tools for source builds | |
| 35 | +| **Linux** | WebKitGTK and related packages per [Tauri prerequisites](https://v2.tauri.app/start/prerequisites/) | |
| 36 | + |
| 37 | +## Method 1: GitHub Releases (recommended) |
| 38 | + |
| 39 | +1. Open [OpenDataEnsemble/ode releases](https://github.com/OpenDataEnsemble/ode/releases). |
| 40 | +2. Select the **v1.1.0** release (or the latest stable tag). |
| 41 | +3. Download the artifact for your platform: |
| 42 | + |
| 43 | + | Platform | Typical artifact | |
| 44 | + |----------|------------------| |
| 45 | + | Windows | `.msi` installer | |
| 46 | + | macOS | `.dmg` or `.app` bundle | |
| 47 | + | Linux | AppImage, `.deb`, or similar | |
| 48 | + |
| 49 | +4. Run the installer or extract the bundle and launch **ODE Desktop**. |
| 50 | + |
| 51 | +:::note Installer script |
| 52 | + |
| 53 | +A curl-style installer script (`scripts/install-ode-desktop.sh`) exists in the monorepo as a placeholder for future one-line installs. Until it is wired to release asset URLs, use GitHub Releases directly. |
| 54 | + |
| 55 | +::: |
| 56 | + |
| 57 | +## Method 2: Build from source |
| 58 | + |
| 59 | +For development or when no pre-built artifact is available for your platform: |
| 60 | + |
| 61 | +### Prerequisites |
| 62 | + |
| 63 | +- **Node.js** 20+ and **pnpm** 10+ |
| 64 | +- **Rust** toolchain ([rustup](https://rustup.rs/)) |
| 65 | +- Platform build tools (see [Tauri prerequisites](https://v2.tauri.app/start/prerequisites/)) |
| 66 | + |
| 67 | +### Build steps |
| 68 | + |
| 69 | +```bash |
| 70 | +git clone https://github.com/OpenDataEnsemble/ode.git |
| 71 | +cd ode/desktop |
| 72 | +pnpm install |
| 73 | +pnpm tauri build |
| 74 | +``` |
| 75 | + |
| 76 | +`pnpm tauri build` runs the full pipeline: Formplayer assets are prepared, the frontend is built, and Tauri packages the native app. Installers or bundles appear under `desktop/src-tauri/target/release/bundle/`. |
| 77 | + |
| 78 | +### Development run |
| 79 | + |
| 80 | +To run with hot reload during development: |
| 81 | + |
| 82 | +```bash |
| 83 | +cd ode/desktop |
| 84 | +pnpm install |
| 85 | +pnpm tauri dev |
| 86 | +``` |
| 87 | + |
| 88 | +:::warning Use the Tauri window |
| 89 | + |
| 90 | +`pnpm tauri dev` opens the **Tauri desktop window**. Do not use a regular browser at `http://localhost:1420` — IPC commands such as `invoke` only work inside the Tauri shell. |
| 91 | + |
| 92 | +::: |
| 93 | + |
| 94 | +## First launch |
| 95 | + |
| 96 | +1. Open **ODE Desktop**. |
| 97 | +2. Switch to **Data management** mode (if not already selected). |
| 98 | +3. On **Profiles**, add or select a profile with your Synkronus server URL. |
| 99 | +4. **Authenticate** with your Synkronus credentials. |
| 100 | +5. On **Sync**, run **Pull** to download observations, or **Download & apply** an app bundle from **Workbench → Bundles**. |
| 101 | + |
| 102 | +## Next steps |
| 103 | + |
| 104 | +- [ODE Desktop user guide](/docs/using/ode-desktop/) — screen-by-screen usage |
| 105 | +- [ODE Desktop reference](/docs/reference/ode-desktop) — architecture and workspace layout |
| 106 | +- [ODE Desktop developer mode](/docs/guides/ode-desktop-developer-mode) — test a local custom app build |
| 107 | +- [ODE Desktop development](/docs/development/ode-desktop-development) — contributor setup |
| 108 | + |
| 109 | +## Troubleshooting |
| 110 | + |
| 111 | +| Issue | Suggestion | |
| 112 | +|-------|------------| |
| 113 | +| App won't start on Linux | Install WebKitGTK and dependencies from Tauri docs | |
| 114 | +| WebView2 missing on Windows | Install the [WebView2 runtime](https://developer.microsoft.com/en-us/microsoft-edge/webview2/) | |
| 115 | +| Build fails on `pnpm tauri build` | Ensure Rust and platform prerequisites are installed; run `pnpm build:formplayer` first if Formplayer assets are missing | |
| 116 | +| Sync authentication fails | Verify server URL and credentials on **Profiles**; check server reachability on **Sync** | |
| 117 | + |
| 118 | +For more help, see [Getting Help](/docs/community/getting-help) or the [forum](https://forum.opendataensemble.org). |
0 commit comments