-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.development.example
34 lines (29 loc) · 1.7 KB
/
env.development.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
# variables prefixed with VITE_ are accessible from the vue client app
# VITE_MY_ENV_VARIABLE=environemnt variable value from .env file
# const publicEnvVar = import.meta.env.VITE_MY_ENV_VARIABLE;
# variables without the VITE_ prefix are NOT accessible from the vue client app
# SERVER_SIDE_ONLY_VAR=this can"t be accessed on the client
# const privateEnvVar = import.meta.env.SERVER_SIDE_ONLY_VAR;
VITE_NODE_ENV=development
VITE_BACKEND_URL="HASURA_URL"
# TO PERSONALIZE APP
VITE_CLIENT_NAME="Alfa & Omega" # Acosta Repuestos
VITE_CLIENT_ICON_PATH="/img/cow.webp"
VITE_CLIENT_HOME_IMG_NAME="lacteos" # Only the name, and must be in the public/img folder as a webp file.
VITE_CLIENT_SQUARE_1_IMG_NAME="s1" # Only the name, and must be in the public/img folder as a webp file.
VITE_CLIENT_MAIN_COLOR="#b12525" # Main color in hex format
VITE_CLIENT_PWA_ICON_NAME="cow"
# SENTRY VARIABLES
VITE_NODE_ENV=development
VITE_NESTJS_DOMAIN="http://localhost:3000"
VITE_ENABLE_SENTRY_PLUGIN=false # Set to true to enable Sentry
VITE_SENTRY_TRACES_SAMPLE_RATE=1.0 # Capture 100% of the transactions, reduce in production!
VITE_SENTRY_REPLAY_SESSION_SAMPLE_RATE=1.0 # This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.
VITE_SENTRY_REPLAY_ON_ERROR_SAMPLE_RATE=1.0 # If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.
VITE_SENTRY_TRACE_PROPAGATION_TARGET="https:yourserver.io/api/"
SENTRY_TELEMETRY=false # Set to true in production
VITE_SENTRY_DSN="NONE"
SENTRY_AUTH_TOKEN="NONE"
SENTRY_ORG="NONE"
SENTRY_PROJECT="NONE"
# CREATE A FILE ".env.production" WITH THESE SAME VARIABLES NAMES