36 lines
874 B
Python
36 lines
874 B
Python
import os
|
|
import cherrypy
|
|
|
|
|
|
settings = {
|
|
"global": {
|
|
"server.thread_pool": 1,
|
|
"static_filter.root": os.getcwd(),
|
|
"server.log_to_screen": True,
|
|
"luminotes.launch_browser": True,
|
|
"luminotes.db_host": None, # use local SQLite database
|
|
"luminotes.rate_plans": [
|
|
{
|
|
"name": "desktop",
|
|
"designed_for": "individuals",
|
|
"storage_quota_bytes": None, # None indicates that there is no storage quota
|
|
"included_users": 1,
|
|
"notebook_collaboration": False,
|
|
"user_admin": False,
|
|
"fee": None,
|
|
"yearly_fee": None,
|
|
},
|
|
],
|
|
},
|
|
"/static": {
|
|
"static_filter.on": True,
|
|
"static_filter.dir": "static",
|
|
"session_filter.on": False,
|
|
},
|
|
"/favicon.ico": {
|
|
"static_filter.on": True,
|
|
"static_filter.file": "static/images/favicon.ico",
|
|
"session_filter.on": False,
|
|
},
|
|
}
|