This repository has been archived by the owner on May 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify a few things around running shared albums locally (#1652)
- Loading branch information
Showing
5 changed files
with
34 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Develop against a server running on localhost | ||
# | ||
# Copy this file to `.env`. Then if you run a local instance of the web client | ||
# with `yarn dev:photos`, it will connect to a locally running instance of the | ||
# server. Not everything will work, you might need to set other env vars (see | ||
# `.env.development`), but it should give you a usable baseline setup. | ||
# | ||
# Equivalent CLI command using environment variables would be | ||
# | ||
# NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080 NEXT_PUBLIC_ENTE_DIRECT_UPLOAD=true yarn dev:photos | ||
# | ||
|
||
NEXT_PUBLIC_ENTE_ENDPOINT = http://localhost:8080 | ||
NEXT_PUBLIC_ENTE_DIRECT_UPLOAD = true | ||
|
||
# If you wish to preview how the shared albums work, you can use `yarn | ||
# dev:albums`. The equivalent CLI command using env vars would be | ||
# | ||
# NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080 NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=http://localhost:3002 NEXT_PUBLIC_ENTE_DIRECT_UPLOAD=true yarn dev:albums | ||
|
||
NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT = http://localhost:3002 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters