Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob] Update app READMEs with melos bootstrap instructions

Prateek Sunal3b87dba47bca
diff --git a/mobile/apps/auth/README.md b/mobile/apps/auth/README.md
index 8bb34a8715..a8fd444625 100644
--- a/mobile/apps/auth/README.md
+++ b/mobile/apps/auth/README.md
@@ -49,7 +49,7 @@ or managing your secrets, please use our mobile or desktop app.
2. Pull in all submodules with `git submodule update --init --recursive`
3. Install dependencies using one of these methods:
- - **Using Melos (recommended):** Install Melos with `dart pub global activate melos`, then from the `mobile/` directory, run `melos bootstrap`
+ - **Using Melos (recommended):** Install Melos with `dart pub global activate melos`, then from any folder inside `mobile/`, run `melos bootstrap`. This will install dependencies and generate Rust bindings for shared packages.
- **Using Flutter directly:** Run `flutter pub get`
4. For Android, [setup your
diff --git a/mobile/apps/locker/README.md b/mobile/apps/locker/README.md
index 936f88ea27..ea0554c9dc 100644
--- a/mobile/apps/locker/README.md
+++ b/mobile/apps/locker/README.md
@@ -9,7 +9,9 @@ important documents in the cloud with secure sharing capabilities.
2. Pull in all submodules with `git submodule update --init --recursive`
-3. Run `flutter pub get` to install dependencies, then run `flutter gen-l10n` to generate localization files
+3. Install dependencies using one of these methods:
+ - **Using Melos (recommended):** Install Melos with `dart pub global activate melos`, then from any folder inside `mobile/`, run `melos bootstrap`. This will install dependencies and generate Rust bindings for shared packages.
+ - **Using Flutter directly:** Run `flutter pub get`, then run `flutter gen-l10n` to generate localization files.
4. For Android, [setup your
keystore](https://docs.flutter.dev/deployment/android#create-an-upload-keystore)
diff --git a/mobile/apps/photos/README.md b/mobile/apps/photos/README.md
index 5489cb5cbb..a919691f59 100644
--- a/mobile/apps/photos/README.md
+++ b/mobile/apps/photos/README.md
@@ -48,15 +48,15 @@ You can alternatively install the build from PlayStore or F-Droid.
1. Install [Flutter v3.32.8](https://flutter.dev/docs/get-started/install) and [Rust](https://www.rust-lang.org/tools/install).
-2. Install [Flutter Rust Bridge](https://cjycode.com/flutter_rust_bridge/) with `cargo install flutter_rust_bridge_codegen` and run `flutter_rust_bridge_codegen generate` - in both this folder, and in `mobile/packages/rust` - to generate the Rust bindings.
+2. Pull in all submodules with `git submodule update --init --recursive`
-3. Pull in all submodules with `git submodule update --init --recursive`
+3. Enable repo git hooks `git config core.hooksPath hooks`
-4. Enable repo git hooks `git config core.hooksPath hooks`
+4. Install dependencies using one of these methods:
+ - **Using Melos (recommended):** Install Melos with `dart pub global activate melos`, then from any folder inside `mobile/`, run `melos bootstrap`. This will install dependencies, generate localization files, and automatically generate Rust bindings.
+ - **Using Flutter directly:** Run `flutter pub get`, then install [Flutter Rust Bridge](https://cjycode.com/flutter_rust_bridge/) with `cargo install flutter_rust_bridge_codegen` and run `flutter_rust_bridge_codegen generate` in both this folder and in `mobile/packages/rust`.
-5. Run `flutter pub get` to install dependencies and generate localization files
-
-6. On Android:
+5. On Android:
- For development, run `flutter run -t lib/main.dart --flavor independent`
@@ -64,7 +64,7 @@ You can alternatively install the build from PlayStore or F-Droid.
keystore](https://docs.flutter.dev/deployment/android#create-an-upload-keystore)
and run `flutter build apk --release --flavor independent`
-7. For iOS, run `flutter build ios`
+6. For iOS, run `flutter build ios`
Some common issues and troubleshooting tips are in [docs/dev](docs/dev.md).