chargement initial

This commit is contained in:
CAO Thien-An
2017-07-22 11:25:44 +02:00
parent 6aa83a3286
commit 2093b3588f
285 changed files with 101783 additions and 6 deletions

78
development.ini Normal file
View File

@@ -0,0 +1,78 @@
###
# app configuration
# http://docs.pylonsproject.org/projects/pyramid/en/1.7-branch/narr/environment.html
###
[app:main]
use = egg:caotek_mesavoirs
pyramid.reload_templates = true
pyramid.debug_authorization = false
pyramid.debug_notfound = false
pyramid.debug_routematch = false
pyramid.default_locale_name = en
pyramid.includes =
pyramid_chameleon
pyramid_debugtoolbar
pyramid_layout
pyramid_mailer
pyramid_tm
sqlalchemy.url = mysql://root:phuoc@localhost/bddevfac?charset=utf8
# sqlalchemy.url = mysql://root:cni/@srvbd/bddevfac?charset=utf8
caotek_mesavoirs.admin_email = ctphuoc@bbox.fr
# Mailer configuration
mail.host = smtp.orange.fr
mail.port = 465
mail.username = sas.dumas@orange.fr
mail.password = sasdumas
mail.ssl = yes
pyramid_mailer.prefix = mail.
[server:main]
use = egg:waitress#main
host = 0.0.0.0
port = 6543
###
# logging configuration
# http://docs.pylonsproject.org/projects/pyramid/en/1.7-branch/narr/logging.html
###
[loggers]
keys = root, caotek_mesavoirs, sqlalchemy
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = INFO
handlers = console
[logger_caotek_mesavoirs]
level = DEBUG
handlers =
qualname = caotek_mesavoirs
[logger_sqlalchemy]
level = INFO
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