forked from django-stars/frontend-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.default
53 lines (39 loc) · 1.28 KB
/
.env.default
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
# the URL to backend part, without paths
BACKEND_URL=http://localhost:8000
# where to proxy PROXY paths
# (userful for not SPA, when you need to proxy API but get templates from local backend)
PROXY_URL=$BACKEND_URL
# server side rendering
# enable to proxy all requests to BACKEND_URL (except frontend assets)
# userful for react SSR or MPA (multi-page applications)
SSR=
# subdomain feature
MAIN_HOST=localhost
# api URL include version
API_URL=/api/v1/
# sources folder, relative to client root folder
SOURCES_PATH=src
# distribution folder, relative to client root folder
OUTPUT_PATH=dist
# pathname for assets used on client-side in CSS urls
PUBLIC_PATH=/assets/
PUBLIC_URL=${PUBLIC_PATH}
# authorization header name for JWT token
AUTH_HEADER=Authorization
# port for dev server
DEV_SERVER_PORT=3000
# you can set 0.0.0.0 here
DEV_SERVER_HOST=127.0.0.1
# proxy paths for dev server ( note that API_URL will be added automatically to this array )
PROXY=["${API_URL}", "/static/", "/media/"]
# key for store redux state in localStorage
STORAGE_KEY=ds
# what to store, set empty or null to store all state
CACHE_STATE_KEYS=["resource.session"]
# Sentry configs
SENTRY_ORG=djangostars
SENTRY_PROJECT=
SENTRY_AUTH_TOKEN=
SENTRY_DSN=
SENTRY_ENVIRONMENT=dev
SENTRY_URL=https://sentry.djangostars.com/