inital upload
This commit is contained in:
92
development.ini
Normal file
92
development.ini
Normal file
@@ -0,0 +1,92 @@
|
||||
###
|
||||
# app configuration
|
||||
# https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html
|
||||
###
|
||||
|
||||
[app:main]
|
||||
use = egg:tcs_site
|
||||
|
||||
pyramid.reload_templates = true
|
||||
pyramid.debug_authorization = false
|
||||
pyramid.debug_notfound = false
|
||||
pyramid.debug_routematch = false
|
||||
pyramid.default_locale_name = en
|
||||
pyramid.includes =
|
||||
pyramid_debugtoolbar
|
||||
|
||||
sqlalchemy.url = sqlite:///%(here)s/tcs_site.sqlite
|
||||
# images location
|
||||
images_dir = /Users/phuoc/pyramid/tcs_site/tcs_site/static/img/
|
||||
|
||||
# reCaptcha keys
|
||||
site_key = 6LeDvVUgAAAAAOqD_-h93kd5aW8CmpeVvKYu-m0p
|
||||
secret_key = 6LeDvVUgAAAAAGASZXCmcmhh-KtBWTZjXpLpKdNt
|
||||
|
||||
# Mailer configuration
|
||||
# tcs_site.admin_email = cao.thien-phuoc@orange.fr
|
||||
# mail.host = smtp.orange.fr
|
||||
# mail.port = 25
|
||||
admin_email = contact@meditation-sunyata.paris
|
||||
mail.host = pro1.mail.ovh.net
|
||||
mail.port = 587
|
||||
mail.tls = True
|
||||
mail.username = contact@meditation-sunyata.paris
|
||||
mail.password = 88.tanhkhong
|
||||
|
||||
|
||||
retry.attempts = 3
|
||||
|
||||
# By default, the toolbar only appears for clients from IP addresses
|
||||
# '127.0.0.1' and '::1'.
|
||||
# debugtoolbar.hosts = 127.0.0.1 ::1
|
||||
|
||||
[pshell]
|
||||
setup = tcs_site.pshell.setup
|
||||
|
||||
###
|
||||
# wsgi server configuration
|
||||
###
|
||||
|
||||
[server:main]
|
||||
use = egg:waitress#main
|
||||
listen = localhost:9580
|
||||
|
||||
###
|
||||
# logging configuration
|
||||
# https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html
|
||||
###
|
||||
|
||||
[loggers]
|
||||
keys = root, tcs_site, sqlalchemy
|
||||
|
||||
[handlers]
|
||||
keys = console
|
||||
|
||||
[formatters]
|
||||
keys = generic
|
||||
|
||||
[logger_root]
|
||||
level = INFO
|
||||
handlers = console
|
||||
|
||||
[logger_tcs_site]
|
||||
level = DEBUG
|
||||
handlers =
|
||||
qualname = tcs_site
|
||||
|
||||
[logger_sqlalchemy]
|
||||
level = WARN
|
||||
handlers =
|
||||
qualname = sqlalchemy.engine
|
||||
# "level = INFO" logs SQL queries.
|
||||
# "level = DEBUG" logs SQL queries and results.
|
||||
# "level = WARN" logs neither. (Recommended for production systems.)
|
||||
|
||||
[handler_console]
|
||||
class = StreamHandler
|
||||
args = (sys.stderr,)
|
||||
level = NOTSET
|
||||
formatter = generic
|
||||
|
||||
[formatter_generic]
|
||||
format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s
|
||||
Reference in New Issue
Block a user