dev.conf 844 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. [base]
  2. [setting]
  3. name = 抢购平台
  4. site = http://www.dever.cc/
  5. copyright = 2017 dever.cc v1.0.0
  6. phantomjs = http://192.168.15.10:8910/
  7. [db]
  8. rdb = postgresql
  9. [postgresql]
  10. host = 0.0.0.0
  11. port = 5432
  12. username = postgres
  13. password = 123456
  14. dbname = buy
  15. prefix = demeter
  16. ;允许自动建表
  17. create = True
  18. ;定义一些tornado的配置,可为空
  19. [tornado]
  20. ;后台配置
  21. [admin]
  22. port = 8087
  23. debug = True
  24. ;请求的buffersize
  25. max_buffer_size = 210763776
  26. ;子进程
  27. process = 0
  28. ;定义后台父级菜单
  29. menu_parent = 站点设置:
  30. ;定义后台子级菜单
  31. menu_child = 站点管理:/site/site,抢购商品设置:/site/product
  32. ;cookie
  33. cookie_secret = 61oETzKXQAGaYekL5gEmGeJJFuYh7EQnp2XdTP1o/Vo=
  34. login_url = /user/login
  35. ;是否使用安全cookie
  36. xsrf_cookies = True