2024-02-23 10:41:08 +00:00
|
|
|
# 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
|
|
|
|
#
|
2024-03-06 04:21:19 +00:00
|
|
|
# NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080 yarn dev:photos
|
2024-02-23 10:41:08 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
NEXT_PUBLIC_ENTE_ENDPOINT = http://localhost:8080
|
2024-02-23 11:04:08 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
#
|
2024-03-06 04:21:19 +00:00
|
|
|
# NEXT_PUBLIC_ENTE_ENDPOINT=http://localhost:8080 NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT=http://localhost:3002 yarn dev:albums
|
2024-02-23 11:04:08 +00:00
|
|
|
|
|
|
|
NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT = http://localhost:3002
|