dev.conf 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. [base]
  2. ;开发环境配置
  3. [setting]
  4. name = 抢购平台
  5. site = http://www.dever.cc/
  6. copyright = 2017 dever.cc v1.0.0
  7. phantomjs = http://192.168.15.10:8910/
  8. ;打印路由表
  9. route = True
  10. [db]
  11. rdb = mysql
  12. [mysql]
  13. host = 192.168.1.203
  14. port = 3307
  15. username = root
  16. password = 123456
  17. dbname = demeter
  18. prefix = demeter
  19. charset = utf8
  20. ;允许自动建表
  21. create = True
  22. ;定义一些tornado的配置,可为空
  23. [tornado]
  24. ;后台配置
  25. [admin]
  26. port = 8087
  27. debug = True
  28. ;请求的buffersize
  29. max_buffer_size = 210763776
  30. ;子进程
  31. process = 0
  32. ;定义后台父级菜单
  33. menu_parent = 站点设置:
  34. ;定义后台子级菜单
  35. menu_child = 站点管理:/site/site,抢购商品设置:/site/product
  36. ;cookie
  37. cookie_secret = 61oETzKXQAGaYekL5gEmGeJJFuYh7EQnp2XdTP1o/Vo=
  38. login_url = /user/login
  39. ;是否使用安全cookie
  40. xsrf_cookies = True
  41. ;前台配置
  42. [front]
  43. port = 8088
  44. debug = True
  45. ;请求的buffersize
  46. max_buffer_size = 210763776
  47. ;子进程
  48. process = 0
  49. ;支持手机版
  50. mobile = True