forked from c3bottles/c3bottles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.default.py
41 lines (32 loc) · 1.63 KB
/
config.default.py
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
# c3bottles example configuration file
#
# Copy this file to config.py and edit it as needed. In any case, you have
# to set a proper SQLALCHEMY_DATABASE_URI and a SECRET_KEY. The other settings
# are optional.
# Example SQLAlchemy database URI for PostgreSQL.
# SQLALCHEMY_DATABASE_URI = "postgresql://username:password@host/database"
# Example SQLAlchemy database URI for SQLite (relative path).
# SQLALCHEMY_DATABASE_URI = "sqlite:///c3bottles.db"
# The secret key used for signing the session cookie.
# SECRET_KEY = "changeme"
# Show error messages in the web server log file instead of just "500".
# (default: False)
# PROPAGATE_EXCEPTIONS = True
# Disable anonymous reporting (useful during the setup phase in the beginning
# of an event. (default: False)
# NO_ANONYMOUS_REPORTIJG = False
# Base interval at which drop points should be visited by the bottle collection
# team. (default: 2 hours)
# BASE_VISIT_INTERVAL = 120 # in minutes
# Default visit priority of a drop point if no reports were submitted since the
# last visit or since creation of the drop point if it has not been visited yet.
# The setting should be handled with care. A higher setting decreases the
# dependence of visit priority from reports by increasing the base level.
# A setting of 0 completely disables the growth of visit priority over time if
# no reports have been submitted. (default: 1)
# DEFAULT_VISIT_PRIORITY = 1
# The factor at which the crate count of a drop point impacts the visit
# priority. A factor of 0.1 means that the priority is increased by 10% for
# every additional crate. (default: 0.1)
# SIZE_IMPACT_FACTOR = 0.1
# vim: set expandtab ts=4 sw=4: