2008-08-15 22:00:16 +00:00
|
|
|
import os
|
|
|
|
import cherrypy
|
|
|
|
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
"global": {
|
2008-08-20 23:05:43 +00:00
|
|
|
"server.thread_pool": 4,
|
2008-08-21 02:50:18 +00:00
|
|
|
"session_filter.storage_type": "ram",
|
|
|
|
"session_filter.timeout": 60 * 24 * 365, # one year
|
2008-08-15 22:00:16 +00:00
|
|
|
"static_filter.root": os.getcwd(),
|
2008-08-23 23:45:34 +00:00
|
|
|
"server.log_to_screen": False,
|
|
|
|
"server.log_file": "luminotes.log",
|
|
|
|
"server.log_access_file": "luminotes.log",
|
|
|
|
"server.log_tracebacks": True,
|
2008-08-15 22:00:16 +00:00
|
|
|
"luminotes.launch_browser": True,
|
2008-08-16 00:27:03 +00:00
|
|
|
"luminotes.db_host": None, # use local SQLite database
|
2008-08-21 02:50:18 +00:00
|
|
|
"luminotes.auto_login_username": "desktopuser",
|
2008-08-23 01:29:49 +00:00
|
|
|
"luminotes.allow_shutdown_command": True, # used to stop the process during uninstall
|
2008-08-19 01:01:50 +00:00
|
|
|
"luminotes.rate_plans": [
|
|
|
|
{
|
|
|
|
"name": "desktop",
|
|
|
|
"designed_for": "individuals",
|
|
|
|
"storage_quota_bytes": None, # None indicates that there is no storage quota
|
|
|
|
"included_users": 1,
|
2008-08-21 00:05:21 +00:00
|
|
|
"notebook_sharing": False,
|
2008-08-19 01:01:50 +00:00
|
|
|
"notebook_collaboration": False,
|
|
|
|
"user_admin": False,
|
|
|
|
"fee": None,
|
|
|
|
"yearly_fee": None,
|
|
|
|
},
|
|
|
|
],
|
2008-08-15 22:00:16 +00:00
|
|
|
},
|
|
|
|
"/static": {
|
|
|
|
"static_filter.on": True,
|
|
|
|
"static_filter.dir": "static",
|
|
|
|
},
|
|
|
|
"/favicon.ico": {
|
|
|
|
"static_filter.on": True,
|
|
|
|
"static_filter.file": "static/images/favicon.ico",
|
|
|
|
},
|
|
|
|
}
|