blob: 518af7ca5f178d43b56f9b9b8c10b8a01f219c32 (
plain)
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
|
DEBUG=False
SQLALCHEMY_DATABASE_URI='sqlite:////var/stackbin/stackbin.db'
SQLALCHEMY_TRACK_MODIFICATIONS = False
SECRET_KEY='development-key'
SALT='jackson'
DELETESALT='differentstring'
APPNAME='stackbin'
# LOOP_DELAY in seconds is how many seconds between running the expiration cleanup task
LOOP_DELAY = 60 * 5
# Disable this variable entirely, to disable any choices for expiration
# Any very simple expression for relative time can be used here. This will be processed by pyparsedate.
EXPIRATION_OPTIONS = [
"never",
"1 day",
"1 hour",
"15 minutes"
]
TEMPLATE_FOLDER = "/usr/share/stackbin/templates"
STATIC_FOLDER = "/usr/share/stackbin/static"
# If you turn these off, the admin panel is entirely disabled.
ADMIN_USERNAME = 'admin'
ADMIN_PASSWORD = 'fluffycat10'
# Because the app generates the url entirely from scratch for a curl POST, the protocol can get lost, so you can force https if you define this variable.
CURL_RESPONSE_PROTOCOL = "https"
|