Blame view

.env.dist 990 Bytes
23357f97   Antoine Goutenoir   Distribute an .en...
1
# Create a sibling `.env` file from this file, and customize it.
f3124890   Antoine Goutenoir   Prepare mailer co...
2
# `export ` prefixes are ignored and allow bash sourcing of this file.
76e12c62   Antoine Goutenoir   Continue tackling...
3
# Do not use True and False in here, but 1 and 0, respectively.
30f6991a   Antoine Goutenoir   Continue moving s...
4
5
# Careful, dotenv is naive and all values in here will be strings.
# We're casting ints by ourselves. (see __init__.py)
76e12c62   Antoine Goutenoir   Continue tackling...
6

23357f97   Antoine Goutenoir   Distribute an .en...
7
8
9

# Secret for Flask
export FLASK_SECRET="IAMN0TSECRETCHANGEM3"
76e12c62   Antoine Goutenoir   Continue tackling...
10
11
export SECRET_KEY="IAMN0TSECRETCH4NGEM3"

23357f97   Antoine Goutenoir   Distribute an .en...
12
13
14

# Credentials for the restricted sections
export ADMIN_USERNAME="admin"
f3124890   Antoine Goutenoir   Prepare mailer co...
15
16
export ADMIN_PASSWORD="admin"

76e12c62   Antoine Goutenoir   Continue tackling...
17
18
19
20
21
22

# Database
#export SQLALCHEMY_DATABASE_URI="sqlite:///../database_prod.db"
#export SQLALCHEMY_TRACK_MODIFICATIONS=0


f3124890   Antoine Goutenoir   Prepare mailer co...
23
24
25
26
27
28
29
30
31
32
# Mail sending configuration
export MAIL_SERVER="localhost"
export MAIL_PORT=25
export MAIL_USE_TLS=0
export MAIL_USE_SSL=0
export MAIL_USERNAME="my_username"
export MAIL_PASSWORD="my_password"
export MAIL_DEFAULT_SENDER="bot-noreply@travel-footprint-calculator.irap.omp.eu"
#export MAIL_MAX_EMAILS=None
#export MAIL_ASCII_ATTACHMENTS=False