-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
88 lines (71 loc) · 2.17 KB
/
Copy path.env.example
File metadata and controls
88 lines (71 loc) · 2.17 KB
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
# Type hints based on parameter naming #####
#
# booleans: [<app_name>_] VERB_...
# [<app_name>_] ALLOW_... | ENABLE_... | FAIL_... | HAS_...
# | INCLUDE_... | IS_... | RUN_... | USE_... | ..._DEBUG
#
# numbers: [<app_name>_] ..._QUANTITY-NOUN
# [<app_name>_] ..._COUNT | ..._NUMBER | ..._RATE | ..._TOTAL
#
# strings: Everything else
# Valid choices: "development", "debug", "debugwait"; anything else will cause it to run in production mode
ENVIRONMENT="development"
ENABLE_MAINTENANCE_MODE=False
MAINTENANCE_MESSAGE=""
DEBUG=True
DJANGO_VITE_DEV_MODE=True
DJANGO_VITE_DEV_SERVER_PORT=3000
ALLOWED_HOSTS=localhost
SECRET_KEY="replace-this-example-key"
SENTRY_DSN=""
CORS_ALLOWED_ORIGINS=http://localhost:3000
CORS_ALLOW_ALL_ORIGINS=True
# Django admin panel & superuser
ENABLE_DJANGO_ADMIN=False
DJANGO_ADMIN_EMAIL=admin@example.com
DJANGO_ADMIN_PASSWORD=Funding.333
# Regular admin account
SEED_ADMIN_EMAIL=admin2@example.com
SEED_ADMIN_PASSWORD=Funding.333
# back-end start-up
RUN_MIGRATIONS=True
RUN_COLLECT_STATIC=True
RUN_SEED_GROUPS=True
RUN_SEED_LOCATIONS=True
RUN_CREATE_SUPER_USER=True
RUN_CREATE_ADMIN=True
# database
# change DATABASE_ENGINE to "mysql" if you want to use MySQL or "postgresql" for PostgreSQL
DATABASE_ENGINE=sqlite3
# these are only used if DATABASE_ENGINE is "mysql" or "postgresql"
DATABASE_NAME=funding
DATABASE_USER=user
DATABASE_PASSWORD=password
# the default host of the DB; it's probably one of "db_mysql_dev" or "db_psql_dev"
DATABASE_HOST=db_psql_dev
# the default port is 5432 for PostgreSQL and 3306 for MySQL
DATABASE_PORT=5432
# Email addresses
DEFAULT_RECEIVE_EMAIL=email@example.com
DEFAULT_FROM_EMAIL=email@example.com
NO_REPLY_EMAIL=noreply@example.com
# Email server
EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
EMAIL_HOST=
EMAIL_HOST_USER=
EMAIL_HOST_PASSWORD=
EMAIL_PORT=587
EMAIL_USE_TLS=True
EMAIL_SEND_METHOD=sync
# Background tasks
BACKGROUND_WORKERS_COUNT=1
# Recaptcha is disabled if no public key is provided
RECAPTCHA_PUBLIC_KEY=
RECAPTCHA_PRIVATE_KEY=
# Two factor auth
ENABLE_2FA=False
# Certificate bundle path
# CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
# Version display
# VITE_VERSION=
# VITE_REVISION=