1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- [base]
- ;开发环境配置
- [setting]
- name = 答题系统
- site = http://www.dever.cc/
- copyright = 2017 dever.cc v1.0.0
- phantomjs = http://192.168.15.10:8910/
- ;打印路由表
- route = True
- [db]
- rdb = mysql
- [mysql]
- host = 192.168.1.203
- port = 3307
- username = root
- password = 123456
- dbname = question
- prefix = demeter
- charset = utf8
- ;允许自动建表
- create = True
- ;定义一些tornado的配置,可为空
- [tornado]
- ;后台配置
- [admin]
- port = 8087
- debug = True
- ;请求的buffersize
- max_buffer_size = 210763776
- ;子进程
- process = 0
- ;定义后台父级菜单
- menu_parent = 记录点设置:,积分等级设置:
- ;定义后台子级菜单
- menu_child = 记录点类型:/record/record,记录点数据:/record/data;积分设置:/score/score,等级设置:/score/level
- ;cookie
- cookie_secret = 61oETzKXQAGaYekL5gEmGeJJFuYh7EQnp2XdTP1o/Vo=
- login_url = /user/login
- ;是否使用安全cookie
- xsrf_cookies = True
- ;前台配置
- [front]
- port = 8088
- debug = True
- ;请求的buffersize
- max_buffer_size = 210763776
- ;子进程
- process = 0
- ;支持手机版
- mobile = True
|