forked from maproulette/maproulette3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
166 lines (135 loc) · 6.84 KB
/
.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
SASS_PATH=node_modules:src
# Version Info
REACT_APP_VERSION_SEMVER=$npm_package_version
# App Info (front-end)
REACT_APP_BASE_PATH=''
REACT_APP_URL='http://127.0.0.1:3000'
REACT_APP_TITLE='MapRoulette'
# Features flags. Set each to 'enabled' or 'disabled'.
REACT_APP_FEATURE_SOCIAL_SHARING='enabled'
REACT_APP_FEATURE_LEADERBOARD='enabled'
REACT_APP_FEATURE_CHALLENGE_ANALYSIS_TABLE='disabled'
REACT_APP_FEATURE_MOBILE_DEVICES='disabled'
REACT_APP_FEATURE_EDITOR_IMAGERY='disabled' # Send active imagery layer to editors
REACT_APP_FEATURE_META_QC='disabled'
REACT_APP_IMAGERY_OPENSTREETCAM='enabled'
REACT_APP_DEFAULT_MAP_LAYERS='enabled'
REACT_APP_OSM_DATA_OVERLAY='enabled'
# Default locale to use if user has not set their locale. Note that this locale
# must be supported by the app or the default en-US will be used.
REACT_APP_DEFAULT_LOCALE='en-US'
# MR2 back-end (scala) server
REACT_APP_MAP_ROULETTE_SERVER_URL='http://127.0.0.1:9000'
REACT_APP_MAP_ROULETTE_SERVER_WEBSOCKET_URL='ws://127.0.0.1:9000/ws'
REACT_APP_MAP_ROULETTE_SERVER_GRAPHQL_URL='http://127.0.0.1:9000/graphql'
REACT_APP_SERVER_OAUTH_URL='/auth/authenticate?redirect=/mr3'
# OSM Server
REACT_APP_OSM_SERVER='https://www.openstreetmap.org'
# OSM API Server
REACT_APP_OSM_API_SERVER='https://api.openstreetmap.org'
# OSMCha Server
REACT_APP_OSMCHA_SERVER='https://osmcha.org'
# Help/Docs Link
REACT_APP_DOCS_URL='https://learn.maproulette.org'
# Blog Link
REACT_APP_BLOG_URL='https://blog.maproulette.org'
# Github repository URL. Used for generating links, such as for release notes
REACT_APP_GIT_REPOSITORY_URL='https://github.com/osmlab/maproulette3'
# Initial zoom values to present when creating a new challenge
REACT_APP_INITIAL_CHALLENGE_DEFAULT_ZOOM=18
REACT_APP_INITIAL_CHALLENGE_MIN_ZOOM=3
REACT_APP_INITIAL_CHALLENGE_MAX_ZOOM=19
# Number of degrees to add to each size of the user's OSM home location to
# create the initial bounds of the map shown when a user chooses to work on
# tasks near them.
REACT_APP_NEARBY_LONGITUDE_LENGTH=0.75
REACT_APP_NEARBY_LATITUDE_LENGTH=0.75
# The maximum allowed size, in degrees, of the largest dimension of a bounding
# box in order for map-bounded task browsing to become available on the locator
# map. The larger this value, the greater the load put on the server when users
# are browsing map-bounded tasks.
REACT_APP_BOUNDED_TASKS_MAX_DIMENSION=70
# Default time, in hours, until a newly-created virtual challenge expires.
REACT_APP_VIRTUAL_CHALLENGE_DURATION=36
# Task threshold for creating a virtual challenge.
REACT_APP_VIRTUAL_CHALLENGE_MAX_TASKS=2000
# Duration, in hours, between geographic indexing runs on the server.
REACT_APP_GEOGRAPHIC_INDEXING_DELAY=2
# iD editor base URL
REACT_APP_ID_EDITOR_SERVER_URL='https://www.openstreetmap.org/edit'
# RapiD editor base URL
REACT_APP_RAPID_EDITOR_SERVER_URL='https://mapwith.ai/rapid'
# Level0 editor base URL
REACT_APP_LEVEL0_EDITOR_SERVER_URL='http://level0.osmz.ru/index.php'
# taginfo server base URL (set to empty to disable tag help)
REACT_APP_TAGINFO_SERVER_URL='https://taginfo.openstreetmap.org'
# The default map layer to use. This should be the id of the layer as
# identified in the [OSM Editor Layer
# Index](https://github.com/osmlab/editor-layer-index) or the id you assigned
# if a custom layer
REACT_APP_DEFAULT_MAP_LAYER_ID='MAPNIK'
# Additional layers to include from the OSM Editor Layer Index. This should be
# a comma-separated list of layer ids, e.g.: 'tf-cycle, OpenTopoMap'
# Note that this only applies to layers present in the index -- if you have
# your own custom or 3rd-party layers outside of the index that you'd like to
# use, you need to define them in the `src/customLayers.json` file instead.
REACT_APP_ADDITIONAL_INDEX_LAYERS='tf-cycle'
# Any API keys you wish to use for specific map layers. Should be structured as
# a JSON object with each key being the layer id as identified in the [OSM
# Editor Layer index](https://github.com/osmlab/editor-layer-index) (or the id
# you assigned for a custom layer), and the value being an object containing a
# `name` field to use in the URL query string and a `value` field for the API
# key. E.G.:
# '{"tf-cycle": {"name": "apikey", "value": "yourapikey"}, "Mapbox": {"name": "access_token", "value": "yourapikey"}}'}'
REACT_APP_MAP_LAYER_API_KEYS=''
# Mapillary client id. If not provided, the Mapillary image map layer will be
# disabled.
REACT_APP_MAPILLARY_API_KEY=''
# The number of minutes to offset the attic query date to allow for the delay in
# Overpass receiving the data.
REACT_APP_ATTIC_QUERY_OFFSET_MINUTES = 10
# Matomo/PIWIK analytics configuration
# > Note that you'll need to override your Matomo/PIWIK url and site id in your
# > .env.local for Matomo tracking to be activated.
#
# Look for your Matomo/PIWIK url (`var u=`) and numeric site id (`setSiteId`) in
# your javascript tracking code. Omit any leading or trailing slashes from the
# URL (it probably should just be your domain name). For example, if your
# javascript tracking code shows `var u="//piwik.example.com/";` then you want
# to set your `REACT_APP_MATOMO_URL='piwik.example.com'`. Then set the site id,
# e.g. if your tracking code shows `_paq.push(['setSiteId', '1']);` then set
# `REACT_APP_MATOMO_SITE_ID='1'`.
#
# > @see https://developer.matomo.org/guides/tracking-javascript-guide for more
# > information on PIWIK javascript tracking code.
REACT_APP_MATOMO_URL=''
REACT_APP_MATOMO_SITE_ID=''
# Optional URL to a JSON file containing system notices to be displayed to
# users, such as notice of upcoming maintenance. See:
# https://github.com/osmlab/maproulette3/wiki/Server-Admin:-System-Notices
# for details
REACT_APP_SYSTEM_NOTICES_URL=''
# Custom keyword categories configuration
# Additional categories of one or more keywords can be added into the Work On
# dropdown filter. Custom categories must be formatted as a valid JSON string.
# The following example would add two categories (arts and coworking), the first
# with two keywords and the second with a single keyword.
# > Note that even single keywords must be structured as an array.
#
# ```
# '{"arts": {"keywords": ["arts_centre"]}, "coworking": {"keywords": ["internet_cafe", "coworking_space"], "label": "Coworking Spaces"}}'
# ```
#
# The label, if given, will be displayed in the dropdown. If left out, the category name
# will simply be start-cased and displayed instead.
# > Internationalization of custom keyword category labels is not supported.
REACT_APP_CUSTOM_KEYWORD_CATEGORIES=''
# -------------- Development Options --------------
#
# If you wish to do front-end development only and connect to a pre-existing
# server rather than setup your own local dev server, you can specify your
# server API key here and it will be automatically included with every request,
# negating the need to go through the sign-in/oauth process
REACT_APP_SERVER_API_KEY=''
# Front-end debugging messages can be enabled, if desired
REACT_APP_DEBUG='disabled'