Guest User

Untitled

a guest
Mar 16th, 2018
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. #
  2. # furboo - 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 = furspots-dev@googlegroups.com
  10. smtp_server = localhost
  11. error_email_from = feedback@furspots.com
  12.  
  13. # Must be commented out for production
  14. #disable_email = True
  15.  
  16. # Must be uncommented and set for production
  17. smtp_username = furspots
  18. smtp_password = ********
  19.  
  20. [server:main]
  21. use = egg:Paste#http
  22. host = 0.0.0.0
  23. port = 5000
  24.  
  25. [app:main]
  26. use = egg:furboo
  27. full_stack = true
  28. cache_dir = %(here)s/data
  29. beaker.session.key = furboo
  30. beaker.session.secret = somesecret
  31. beaker.session.cookie_domain = .furspots.org
  32.  
  33. site_address = furspots.org
  34. no_public_characters = true
  35. invite_code = true
  36. invite_code.key = ********
  37. invite_code.secret = furboo
  38. #setup_test_data = true
  39.  
  40. # If you'd like to fine-tune the individual locations of the cache data dirs
  41. # for the Cache data, or the Session saves, un-comment the desired settings
  42. # here:
  43. #beaker.cache.data_dir = %(here)s/data/cache
  44. #beaker.session.data_dir = %(here)s/data/sessions
  45.  
  46. # SQLAlchemy database URL
  47. #sqlalchemy.url = sqlite:///%(here)s/development.db
  48. sqlalchemy.dburi = postgres://furspots:********@localhost:5432/furspots_prod
  49. storage.engine = local
  50. storage.engine.local.location = %(here)s/data/storage
  51.  
  52. # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
  53. # Debug mode will enable the interactive debugging tool, allowing ANYONE to
  54. # execute malicious code after an exception is raised.
  55. #set debug = false
  56.  
  57.  
  58. # Logging configuration
  59. [loggers]
  60. keys = root, furboo
  61. #keys = root, furboo, sqlalchemy
  62.  
  63. [handlers]
  64. keys = console
  65.  
  66. [formatters]
  67. keys = generic
  68.  
  69. [logger_root]
  70. level = INFO
  71. handlers = console
  72.  
  73. [logger_furboo]
  74. level = DEBUG
  75. handlers =
  76. qualname = furboo
  77.  
  78. [logger_sqlalchemy]
  79. level = INFO
  80. handlers =
  81. qualname = sqlalchemy.engine
  82. # "level = INFO" logs SQL queries.
  83. # "level = DEBUG" logs SQL queries and results.
  84. # "level = WARN" logs neither. (Recommended for production systems.)
  85.  
  86. [handler_console]
  87. class = StreamHandler
  88. args = (sys.stderr,)
  89. level = NOTSET
  90. formatter = generic
  91.  
  92. [formatter_generic]
  93. format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
  94. datefmt = %H:%M:%S
Add Comment
Please, Sign In to add comment