-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.envrc.template
96 lines (68 loc) · 3.17 KB
/
.envrc.template
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
# Copy this file to `.envrc.private`
## Required Variables
## * These are the values you'll need to be prepared to update to run Skate locally
## Erlang/OTP settings, pass "+MIscs 2048" to allocate enough memory for literals in your local dev environment
export ERL_FLAGS="+MIscs 2048"
## Authentication/authorization secret.
## You _can_ generate a value using `mix phx.gen.secret`
export GUARDIAN_SECRET_KEY=$(openssl rand -base64 48)
## Used for writing encrypted cookies.
## You _can_ generate a value using `mix phx.gen.secret`
export SECRET_KEY_BASE=$(openssl rand -base64 48)
## Postgres configuration: username, password, and hostname
## * Your local Postgres server should go here
# export POSTGRES_USERNAME=
# export POSTGRES_PASSWORD=
# export POSTGRES_HOSTNAME=
## URL of the [MBTA v3 API](https://github.com/mbta/api) for retrieving live train positions
# export API_URL=
## Access key for the MBTA v3 API
## * Request your personal API key from [MBTA Realtime API](https://api-v3.mbta.com/)
# export API_KEY=
### The following variables are imported by 1Password in `.env.1p.skate`
## API key from [Swiftly Transitime API](https://swiftly-inc.stoplight.io/docs/realtime-standalone/YXBpOjI4NDM2MDU3-swiftly-api-reference)
# export SWIFTLY_AUTHORIZATION_KEY=
## Source of Swiftly vehicle data
# export SWIFTLY_REALTIME_VEHICLES_URL=
## Location of the GTFS zip file
# export GTFS_URL=
## Source of GTFS-realtime enhanced VehiclePositions json data file
# export BUSLOC_URL=
## Source of GTFS-realtime enhanced TripUpdates json data file (optional)
# export TRIP_UPDATES_URL=
## Source of extended schedule data
# export SKATE_HASTUS_URL=
## Amazon Location Service place index to use for location search
# export AWS_PLACE_INDEX=
## Optional Variables
## Used by Erlang (only required in production)
# export RELEASE_COOKIE=
## CDN details (only required in production)
# export STATIC_SCHEME
# export STATIC_HOST
# export STATIC_PATH
# export STATIC_PORT
## Endpoints for logging errors to Sentry (only used in production)
# export SENTRY_BACKEND_DSN
# export SENTRY_FRONTEND_DSN
# export SENTRY_ORG_SLUG
## URL of the API for retrieving drawbridge status
# export BRIDGE_URL
## Credentials for the API that gets drawbridge status
# export BRIDGE_API_USERNAME
# export BRIDGE_API_PASSWORD
## Open Route Service (API URL will usually be https://api.openrouteservice.org/; you can your API Key from the ORS console once you create an account)
# export OPEN_ROUTE_SERVICE_API_URL=
# export OPEN_ROUTE_SERVICE_API_KEY=
### The following variables are imported by 1Password in `.env.1p.skate`
## Location of map tile images
# export TILESET_URL=
## URL for map tile images, including {x} {y} coordinate and {z} zoom level placeholders
# export BASE_TILESET_URL=
## URL for satellite map tile images, including {x} {y} coordinate and {z} zoom level placeholders
# export SATELLITE_TILESET_URL=
## Used for locally building (and eventually testing) Storybook and Snapshot tests
## The project token can be found in Chromatic, (Manage > Configure > Project > Project Token)
# export CHROMATIC_PROJECT_TOKEN=
## Indicates to Sentry and other places what version is currently running
export SENTRY_RELEASE=local