π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Add shortcuts
Manav Rathiaabdab1a13d3
diff --git a/README.md b/README.mdindex fe7cb71b99..7cf20b013c 100644--- a/README.md+++ b/README.md@@ -40,11 +40,13 @@ The app is deployed to [web.ente.io](https://web.ente.io)1. Clone this repository with `git clone https://github.com/ente-io/photos-web.git`2. Pull in all submodules with `git submodule update --init --recursive`3. Install dependencies with `yarn install`-4. Finally, run the development server with `yarn dev:photos`+4. Finally, run the development server with `yarn dev`Open [http://localhost:3000](http://localhost:3000) to see the live app (withhot reload).+`yarn dev` runs the photos app. To run the auth app, do `yarn dev:auth`.+<br/>## π Helpdiff --git a/docs/dev.md b/docs/dev.mdindex 2949b3f357..764c5240e9 100644--- a/docs/dev.md+++ b/docs/dev.md@@ -15,10 +15,14 @@ full list of such aliases. The two common patterns are `dev:<app-name>` forrunning a local development server, and `build:<app-name>` for creating aproduction build.+> Tip: `yarn dev` is a shorcut for `yarn dev:photos`+Note that yarn does not automatically update `node_modules` if you switch to abranch that has added or modified dependencies. So if you encounter unexpectederrors on switching branches, make sure that your `node_modules` is up to date-by running `yarn install` first (tip: `yarn` is a shortcut for `yarn install`).+by running `yarn install` first.++> `yarn` is a shortcut for `yarn install`To add a local package as a dependency, use `<package-name>@*`. The "*" heredenotes any version.diff --git a/package.json b/package.jsonindex 5642c5a820..d49cdf9a8f 100644--- a/package.json+++ b/package.json@@ -7,10 +7,12 @@"packages/*"],"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:photos": "yarn workspace photos next build",+ "dev": "yarn dev:photos","dev:accounts": "yarn workspace accounts next dev","dev:auth": "yarn workspace auth next dev","dev:cast": "yarn workspace cast next dev",