π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Document Ensu desktop setup
Manav Rathid442234f7f4f
diff --git a/rust/apps/ensu/README.md b/rust/apps/ensu/README.mdindex e892aca399..2f41df97c9 100644--- a/rust/apps/ensu/README.md+++ b/rust/apps/ensu/README.md@@ -1,33 +1,36 @@-# Ensu Tauri+# Ensu Desktop-This wraps the **Ensu web app** in a Tauri shell for maximum component reuse.+Desktop app for [Ensu](https://ente.com/ensu/). Built using Tauri.-Requires cmake (e.g. `brew install cmake`).+## Building from source-## Dev+1. Install [Node](https://nodejs.org), [Rust](https://www.rust-lang.org/tools/install) and CMake (e.g. `brew install cmake`).-```sh-cd rust/apps/ensu-# runs the Ensu web dev server and launches Tauri (default port 3010)-npm run dev-```+2. Install web dependencies:-To change the dev port:+ ```sh+ cd web+ yarn install --frozen-lockfile+ ```-```sh-cd rust/apps/ensu-ENSU_TAURI_PORT=3020 npm run dev-```+3. Install desktop dependencies:-## Build+ ```sh+ cd rust/apps/ensu+ npm ci+ ```++4. Run the desktop app:++ ```sh+ npm run dev+ ```++The dev command starts the Ensu web app on port 3010 and launches Tauri, and changes in the web code will be hot reloaded.++To create a static build:```shcd rust/apps/ensu-# builds the Ensu web app and exports a static build for Taurinpm run build```--## Notes--- The Tauri build uses the Ensu web app at `web/apps/ensu`.-- Static export is enabled only when `ENTE_TAURI=1`.