forked from redimp/otterwiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.cfg.skeleton
51 lines (42 loc) · 1.47 KB
/
settings.cfg.skeleton
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
# App Settings
DEBUG = False
# The SECRET_KEY is used for signing the session cookie.
SECRET_KEY = 'CHANGE ME'
# The SITE_NAME is displayed on every page and email.
SITE_NAME = 'Otterwiki'
# Configure the path to the repository:
REPOSITORY = '/path/to/the/repository/root'
# The Logo can be the url of any image, even an attachment. e.g.:
# SITE_LOGO = '//Home/a/logo.png'
# Permissions
# 'ANONYMOUS' or 'REGISTERED' or 'APPROVED'
READ_ACCESS = 'ANONYMOUS'
WRITE_ACCESS = 'REGISTERED'
ATTACHMENT_ACCESS = 'REGISTERED'
AUTO_APPROVAL = True
EMAIL_NEEDS_CONFIRMATION = True
# NOTIFY_ADMINS_ON_REGISTER = True
# RETAIN_PAGE_NAME_CASE = False
# Database Configuration
# e.g. SQLALCHEMY_DATABASE_URI='sqlite:////absolute/path/to/the/sqlite/database/file'
# see https://flask-sqlalchemy.palletsprojects.com/en/2.x/config/#connection-uri-format
SQLALCHEMY_DATABASE_URI = ''
# # Flask-Mail configuration
# # See https://pythonhosted.org/Flask-Mail/ for configuration.
# MAIL_DEFAULT_SENDER='[email protected]'
# # Flask-Mail gmail
# MAIL_SERVER = 'smtp.googlemail.com'
# MAIL_PORT = 465
# MAIL_USE_TLS = False
# MAIL_USE_SSL = True
# MAIL_USERNAME = 'MAIL_USERNAME'
# MAIL_PASSWORD = 'MAIL_PASSWORD'
# # Flask-Mail Debug Configuration
# # run dummy stmp server via
# #
# # python -m smtpd -n -c DebuggingServer localhost:1025
# #
# MAIL_SERVER = 'localhost'
# MAIL_PORT = 1025
# MAIL_USERNAME = None
# MAIL_PASSWORD = None