-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
.env.example
98 lines (81 loc) · 2.56 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
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
97
98
############################################
# 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"
DEBUG=True
ALLOWED_HOSTS=*
APEX_DOMAIN=localhost:8000
SECRET_KEY="replace-this-example-key"
SENTRY_DSN=""
# key used for encrypting, data; has to be exactly 32 characters long
ENCRYPT_KEY="this-key-should-be-exactly-32-ch"
ENABLE_CACHE=False
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=a
# Regular admin account
SEED_ADMIN_EMAIL=admin2@example.com
SEED_ADMIN_PASSWORD=a
# back-end start-up
RUN_MIGRATIONS=True
RUN_COLLECT_STATIC=True
RUN_SEED_GROUPS=True
RUN_SEED_LOCATIONS=True
RUN_CREATE_SUPER_USER=True
# database
# change DATABASE_ENGINE to "mysql" if you want to use MySQL or "postgres" for PostgreSQL
DATABASE_ENGINE=postgres
# these are only used if DATABASE_ENGINE is mysql or postgres
DATABASE_NAME=redirect
DATABASE_USER=user
DATABASE_PASSWORD=password
DATABASE_HOST=db
DATABASE_PORT=5432
# Email addresses
DEFAULT_FROM_EMAIL=email@example.com
NO_REPLY_EMAIL=noreply@example.com
# Email server
EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend
EMAIL_HOST=
EMAIL_HOST_USER=
EMAIL_HOST_PASSWORD=
EMAIL_PORT=587
EMAIL_USE_TLS=True
# Flags to set if the tasks should be run async
EMAIL_SEND_METHOD=sync
UPDATE_ORGANIZATION_METHOD=sync
# Enable/Disable different features that interfere with debugging
ENABLE_FULL_CUI_VALIDATION=False
DATA_UPLOAD_MAX_NUMBER_FIELDS=100000
DONATIONS_XML_LIMIT_PER_FILE=100
DONATIONS_LIMIT_DAY=25
DONATIONS_LIMIT_MONTH=5
# Background tasks
BACKGROUND_WORKERS_COUNT=1
# Recaptcha is disabled if no public key is provided
## Use the following keys for testing
## https://developers.google.com/recaptcha/docs/faq
CAPTCHA_PUBLIC_KEY=6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
CAPTCHA_PRIVATE_KEY=6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
# Cognito settings
AWS_COGNITO_REGION=
AWS_COGNITO_DOMAIN=
AWS_COGNITO_USER_POOL_ID=
AWS_COGNITO_CLIENT_ID=
AWS_COGNITO_CLIENT_SECRET=
# NGOHub API credentials
NGOHUB_API_ACCOUNT=
NGOHUB_API_KEY=