/kai/config/deployment.ini_tmpl

https://bitbucket.org/bbangert/kai/ · Unknown · 58 lines · 47 code · 11 blank · 0 comment · 0 complexity · 12fcd48d06ba8402890f17734e246298 MD5 · raw file

  1. #
  2. # kai - Pylons configuration
  3. #
  4. # The %(here)s variable will be replaced with the parent directory of this file
  5. #
  6. [DEFAULT]
  7. debug = true
  8. email_to = you@yourdomain.com
  9. smtp_server = localhost
  10. error_email_from = paste@localhost
  11. [server:main]
  12. use = egg:Paste#http
  13. host = 0.0.0.0
  14. port = 5000
  15. [app:main]
  16. use = egg:kai
  17. full_stack = true
  18. cache_dir = %(here)s/data
  19. beaker.session.key = kai
  20. beaker.session.secret = ${app_instance_secret}
  21. app_instance_uuid = ${app_instance_uuid}
  22. # If you'd like to fine-tune the individual locations of the cache data dirs
  23. # for the Cache data, or the Session saves, un-comment the desired settings
  24. # here:
  25. #beaker.cache.data_dir = %(here)s/data/cache
  26. #beaker.session.data_dir = %(here)s/data/sessions
  27. # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
  28. # Debug mode will enable the interactive debugging tool, allowing ANYONE to
  29. # execute malicious code after an exception is raised.
  30. set debug = false
  31. # Logging configuration
  32. [loggers]
  33. keys = root
  34. [handlers]
  35. keys = console
  36. [formatters]
  37. keys = generic
  38. [logger_root]
  39. level = INFO
  40. handlers = console
  41. [handler_console]
  42. class = StreamHandler
  43. args = (sys.stderr,)
  44. level = NOTSET
  45. formatter = generic
  46. [formatter_generic]
  47. format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s