This repository has been archived on 2023-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
2008-08-15 22:00:16 +00:00
|
|
|
import os
|
|
|
|
import cherrypy
|
|
|
|
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
"global": {
|
|
|
|
"server.thread_pool": 1,
|
|
|
|
"static_filter.root": os.getcwd(),
|
2008-08-16 00:27:03 +00:00
|
|
|
"server.log_to_screen": 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-15 22:00:16 +00:00
|
|
|
},
|
|
|
|
"/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,
|
|
|
|
},
|
|
|
|
}
|