Skip to content

armgit / ente

Public Imported from GitHub
0

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

Reword template

Manav Rathid247cc6cad70
diff --git a/web/apps/photos/.env.development b/web/apps/photos/.env.development
index fd4d63c081..5b43c1bb87 100644
--- a/web/apps/photos/.env.development
+++ b/web/apps/photos/.env.development
@@ -11,15 +11,18 @@
#NEXT_PUBLIC_ENTE_ENDPOINT = http://localhost:8080
-# If you wish to preview how the shared albums work, you can use `yarn
-# dev:albums`. You'll need to run two instances.
-
-# The equivalent CLI commands using env vars would be:
+# We also have various sidecar apps. These all run on a separate port, 3002,
+# since usually when developing we usually need to run only one of them in
+# addition to the main photos app. So you can uncomment this entire set.
+#
+# For example, if you wish to preview how the shared albums work, you can
+# uncomment these (and the NEXT_PUBLIC_ENTE_ENDPOINT above), and run two apps:
#
-# # For the normal web app
-# NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080 NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=http://localhost:3002 yarn dev:photos
+# - `yarn dev:photos` (the main app)
+# - `yarn dev:albums` (the sidecar app, in this case, albums)
#
-# # For the albums app
-# NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080 NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=http://localhost:3002 yarn dev:albums
+# You'll also need to create a similar `.env.local` or `.env.development.local`
+# in the app you're running (e.g. in apps/accounts).
#NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT = http://localhost:3002
+#NEXT_PUBLIC_ENTE_ACCOUNTS_ENDPOINT = http://localhost:3002