-
Notifications
You must be signed in to change notification settings - Fork 14
/
.env.example
48 lines (37 loc) · 2.11 KB
/
.env.example
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
#### In .env ###
# Choose you location selector type (e.g., address based or postal-code based) (default: postal-code) (only postal code method is available for now)
VUE_APP_REPORT_LOCATION_SELECTOR=postal-code
# Set the PINCODE length of your country <int> 6 for India; 4 for Switzerland
VUE_APP_PINCODE_LENGTH_VALIDATION=6
VUE_APP_REPORT_FORM=[classic|disease]
VUE_APP_REPORT_FORM_MEDICAL=false
# Data sources
VUE_APP_VISU_DATA_SOURCE_URL=<your data source CSV file: https://raw.githubusercontent.com/...>
VUE_APP_VISU_GEOCODE_URL=<your geocoding info CSV file: https://raw.githubusercontent.com/...>
VUE_APP_VISU_LAST_UPDATE_URL=<your last_update.txt file: https://raw.githubusercontent.com/...>
# Min and max siez of markers (rolored circles), in meters on the map
VUE_APP_VISU_MAP_MIN_MARKER_SIZE=200
VUE_APP_VISU_MAP_MAX_MARKER_SIZE=2000
# Default map position
# To find these values, go to https://www.openstreetmap.org/, center the map where you want and get the values from the URL
VUE_APP_VISU_MAP_CENTER_LATITUDE=<latitude>
VUE_APP_VISU_MAP_CENTER_LONGITUDE=<longitude>
VUE_APP_VISU_MAP_ZOOM_LEVEL=<zoom level>
VUE_APP_VISU_MAP_ZOOM_LEVEL_LOCAL=<zoom level when centered on location by default>
# If the about page should redirect to the organisation page
VUE_APP_ABOUT_REDIRECT_ORG=true
# Mandatory for now
VUE_APP_RECAPTCHA_KEY=<key from recaptcha console>
# Add language code sthat you need (the tranlation file must exist in ./assets/translations/<code>.json
VUE_APP_ADDITIONAL_LANGUAGES=de,fr,it,es,lv,pt,ru,sv
# Used for (power)user error reporting
VUE_APP_GITHUB_REPO_OWNER=
VUE_APP_GITHUB_REPO_NAME=
# If social link is not defined, the button will not show
VUE_APP_SOCIAL_WHATSAPP=<The link that will be added to the text. E.g. covid-self-report.ch>
VUE_APP_SOCIAL_GITHUB=<The github page where the data is available. E.g. https://github.com/ch-covid-19>
VUE_APP_SOCIAL_INSTAGRAM=<The instagram page>
VUE_APP_SOCIAL_FACEBOOK=<The facebook page>
#### In .env.development / .env.staging / .env.production###
# In .env.development and .env.production
VUE_APP_API_ENDPOINT_REPORT=<API endpoint of where you reports should be posted>