old gnuviechadmin web interface code that is not developed anymore
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
1.9KB

  1. #
  2. # gnuviechadminweb - Pylons development environment configuration
  3. #
  4. # The %(here)s variable will be replaced with the parent directory of this file
  5. #
  6. [DEFAULT]
  7. debug = true
  8. # Uncomment and replace with the address which should receive any error reports
  9. #email_to = you@yourdomain.com
  10. smtp_server = localhost
  11. error_email_from = paste@localhost
  12. [server:main]
  13. use = egg:Paste#http
  14. host = 0.0.0.0
  15. port = 5000
  16. [app:main]
  17. use = egg:gnuviechadminweb
  18. full_stack = true
  19. cache_dir = %(here)s/data
  20. beaker.session.key = gnuviechadminweb
  21. beaker.session.secret = realy secret data
  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. sqlalchemy.url = sqlite:///%(here)s/gvaweb.sqlite
  32. authkit.setup.method = form, cookie
  33. authkit.form.authenticate.user.type = gnuviechadminweb.model:GVAUsers
  34. authkit.form.authenticate.user.data = gnuviechadminweb.model.meta
  35. authkit.form.authenticate.user.encrypt = gnuviechadminweb.model:sha512
  36. authkit.cookie.secret = really secret data
  37. authkit.cookie.signoutpath = /login/logout
  38. # Logging configuration
  39. [loggers]
  40. keys = root, gnuviechadminweb
  41. [handlers]
  42. keys = console
  43. [formatters]
  44. keys = generic
  45. [logger_root]
  46. level = INFO
  47. handlers = console
  48. [logger_gnuviechadminweb]
  49. level = DEBUG
  50. handlers =
  51. qualname = gnuviechadminweb
  52. [handler_console]
  53. class = StreamHandler
  54. args = (sys.stderr,)
  55. level = NOTSET
  56. formatter = generic
  57. [formatter_generic]
  58. format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
  59. datefmt = %H:%M:%S