-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.env
54 lines (46 loc) · 2.18 KB
/
sample.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Save a copy of this file as .env in this directory, and then update that.
# DO NOT MODIFY sample.env IN PLACE, as it will be ignored.
# This file will be used for local development.
# See also sample.env in the dist directory
# (for specifying where to deploy the script, and the configuration values there).
# The Strava details can be accessed at https://www.strava.com/settings/api
# Note that these do not have to be the same between local development and the deployed server,
# as a different Strava account can be used for each.
STRAVA_CLIENT_ID=
STRAVA_CLIENT_SECRET=
# MAPBOX_TOKEN is the token for using Mapbox.
MAPBOX_TOKEN=
# MAPBOX_STYLE is the default style to use. This can be one of:
# - STANDARD
# - LIGHT
# - DARK
# - light-dark
# - OUTDOOR
# - STRAVA
# - HYBRID
# - SATELLITE
MAPBOX_STYLE=light-dark
# USE_STRAVA_ICONS: set to true to use Strava icons for activity types
USE_STRAVA_ICONS=false
# VALIDATE_USER_BEFORE_CACHE: set to true to check with the backend that the user exists before showing data
VALIDATE_USER_BEFORE_CACHE=false
# The name of the app, as used in the HTML title and logo
VITE_APP_NAME="Heatmapper"
# These are the ports on localhost to run the development servers on.
# Note that the frontend server will proxy any API requests to the backend server, which must also
# be running, either locally or remotely (by specifying SERVER_PORT or SERVER_DOMAIN).
# If a domain is provided, it should contain everything before the first slash of the path,
# including the port (unless it is accessible through the default port, i.e. 80 for http or
# 443 for https), e.g. one of:
# SERVER_DOMAIN=https://heatmapper.charding.dev
# SERVER_DOMAIN=http://192.168.1.2:345
#
# Alternatively, the backend development server can be accessed directly, and this will serve the
# latest production build of the frontend server (i.e. by running `yarn build` or `./build`).
#
# Note that, if no SERVER_DOMAIN is provided, it will only be possible to log on from a browser on
# the computer that is hosting the development server. If a SERVER_DOMAIN is provided, it must
# match the callback domain specified at https://www.strava.com/settings/api
VITE_DEV_PORT=8081
SERVER_PORT=8080
SERVER_DOMAIN=