Skip to content

armgit / ente

Public Imported from GitHub
0

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

Update docs

Manav Rathi72f2028869c0
diff --git a/mobile/apps/photos/README.md b/mobile/apps/photos/README.md
index 399b0c9260..5489cb5cbb 100644
--- a/mobile/apps/photos/README.md
+++ b/mobile/apps/photos/README.md
@@ -48,7 +48,7 @@ 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` to generate the Rust bindings.
+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.
3. Pull in all submodules with `git submodule update --init --recursive`
diff --git a/web/README.md b/web/README.md
index 3ff3c3f696..af1e159715 100644
--- a/web/README.md
+++ b/web/README.md
@@ -12,6 +12,8 @@ To know more about Ente, see [our main README](../README.md) or visit
## Building from source
+Install [node](https://nodejs.org) and [Rust](https://www.rust-lang.org/tools/install).
+
Install dependencies
```sh
diff --git a/web/docs/new.md b/web/docs/new.md
index 7c04cdc273..d500ec3d15 100644
--- a/web/docs/new.md
+++ b/web/docs/new.md
@@ -33,4 +33,6 @@ development, here is a recommended workflow:
1.22.22
```
+6. Install [Rust](https://www.rust-lang.org/tools/install).
+
That's it. Enjoy coding!
diff --git a/web/package.json b/web/package.json
index 312bc6c66d..2880801895 100644
--- a/web/package.json
+++ b/web/package.json
@@ -8,23 +8,23 @@
],
"scripts": {
"build": "yarn build:photos",
- "build:accounts": "yarn workspace accounts next build",
- "build:auth": "yarn workspace auth next build",
- "build:cast": "yarn workspace cast next build",
- "build:embed": "yarn workspace embed next build",
+ "build:accounts": "yarn build:wasm && yarn workspace accounts next build",
+ "build:auth": "yarn build:wasm && yarn workspace auth next build",
+ "build:cast": "yarn build:wasm && yarn workspace cast next build",
+ "build:embed": "yarn build:wasm && yarn workspace embed next build",
"build:payments": "yarn workspace payments build",
- "build:photos": "yarn workspace photos next build",
- "build:share": "yarn workspace share next build && yarn workspace share build:post",
+ "build:photos": "yarn build:wasm && yarn workspace photos next build",
+ "build:share": "yarn build:wasm && yarn workspace share next build && yarn workspace share build:post",
"build:wasm": "yarn workspace ente-wasm build --no-pack",
"dev": "yarn dev:photos",
- "dev:accounts": "yarn workspace accounts next dev -p 3001",
- "dev:albums": "yarn workspace photos next dev -p 3002",
- "dev:auth": "yarn workspace auth next dev -p 3003",
- "dev:cast": "yarn workspace cast next dev -p 3004",
- "dev:embed": "yarn workspace embed next dev -p 3006",
+ "dev:accounts": "yarn build:wasm && yarn workspace accounts next dev -p 3001",
+ "dev:albums": "yarn build:wasm && yarn workspace photos next dev -p 3002",
+ "dev:auth": "yarn build:wasm && yarn workspace auth next dev -p 3003",
+ "dev:cast": "yarn build:wasm && yarn workspace cast next dev -p 3004",
+ "dev:embed": "yarn build:wasm && yarn workspace embed next dev -p 3006",
"dev:payments": "yarn workspace payments dev",
- "dev:photos": "yarn workspace photos next dev -p 3000",
- "dev:share": "yarn workspace share next dev -p 3005",
+ "dev:photos": "yarn build:wasm && yarn workspace photos next dev -p 3000",
+ "dev:share": "yarn build:wasm && yarn workspace share next dev -p 3005",
"lint": "concurrently --names 'prettier,eslint,tsc' \"yarn prettier --check --log-level warn .\" \"yarn workspaces run eslint\" \"yarn workspaces run tsc\"",
"lint-fix": "concurrently --names 'prettier,eslint,tsc' \"yarn prettier --write --log-level warn .\" \"yarn workspaces run eslint --fix\" \"yarn workspaces run tsc\""
},