-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
.env-template
51 lines (41 loc) · 1.74 KB
/
.env-template
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
#Language setting
export PEARS_LANGS=<language codes, separate by commas>
export TRANSLATION_DIR=<the full path to your translation directory>
# Mail Settings
export MAIL_DEFAULT_SENDER=<your email>
export EMAIL_USER=<the same email address as previously>
export MAIL_SERVER=<your mail server>
export MAIL_PORT=<the mail port of your mail server>
export EMAIL_PASSWORD=<your password>
# Secrets
export SECRET_KEY=<some long string>
export SECURITY_PASSWORD_SALT=<some other long string>
export CSRF_SESSION_KEY=<yet another long string>
# Pod settings
#export PODS_DIR=<the full path to your pod directory>
# PYTHONANYWHERE SETTING
export PA_USERNAME=<your username>
# Server
export APP_PORT=8080
export FLASK_ENV=development # Set this to "production", when running flask in production.
# About you
export OWN_BRAND=false
export SITENAME=<the name of your site>
export SITE_TOPIC=<a brief description of the focus of your instance, to appear in the FAQ page>
export SEARCH_PLACEHOLDER=<a placeholder with some examples of what people can search for, will appear in main search bar>
# Legal
export ORG_NAME=<your organisation's name>
export ORG_ADDRESS=<your organisation's address, on one line>
export ORG_EMAIL=<your organisation's email (could be the same as above)>
export APPLICABLE_LAW=<your jurisdiction (usually, your location)>
export EU_SPECIFIC=true
export SERVERS=<the organisation providing the servers on which the instance is hosted>
# User-relatd settings
export NEW_USERS_ALLOWED=<allow users to create accounts>
export FEEDBACK_FORM=false
# Snippet length is fixed at 10 words to respect EU legal framework
# Do not change this unless you know what you are doing!
export SNIPPET_LENGTH=10
# Optimization
export LIVE_MATRIX=true
export EXTEND_QUERY=false