initial upload

This commit is contained in:
2023-06-22 10:26:17 +02:00
parent 14dc417203
commit 11304c5b8a
306 changed files with 83527 additions and 49 deletions

97
development.ini Normal file
View File

@@ -0,0 +1,97 @@
###
# app configuration
# http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html
###
[app:main]
use = egg:monaem
pyramid.reload_templates = true
pyramid.debug_authorization = false
pyramid.debug_notfound = true
pyramid.debug_routematch = false
pyramid.default_locale_name = en
pyramid.includes =
pyramid_chameleon
pyramid_debugtoolbar
pyramid_layout
pyramid_mailer
pyramid_tm
sqlalchemy.url = mysql://phuoc:phuoc!@127.0.0.1/bd_aem?charset=utf8
#sqlalchemy.url = mysql://phuoc:phuoc!@srv-dc/bd_aem?charset=utf8
monaem.justifs_url = monaem:static/JUSTIFS/
monaem.justifs_dir = /JUSTIFS
monaem.admin_email = cao.thien-phuoc@orange.fr
monaem.circuit_email = cao.thien-phuoc@orange.fr
monaem.pro_email = cao.thien-phuoc@orange.fr
monaem.comm_email = cao.thien-phuoc@orange.fr
mail.host = smtp.orange.fr
mail.port = 25
# By default, the toolbar only appears for clients from IP addresses
# '127.0.0.1' and '::1'.
# debugtoolbar.hosts = 127.0.0.1 ::1
debugtoolbar.panels =
pyramid_debugtoolbar.panels.versions.VersionDebugPanel
pyramid_debugtoolbar.panels.settings.SettingsDebugPanel
pyramid_debugtoolbar.panels.headers.HeaderDebugPanel
pyramid_debugtoolbar.panels.request_vars.RequestVarsDebugPanel
pyramid_debugtoolbar.panels.renderings.RenderingsDebugPanel
pyramid_debugtoolbar.panels.logger.LoggingPanel
pyramid_debugtoolbar.panels.performance.PerformanceDebugPanel
pyramid_debugtoolbar.panels.routes.RoutesDebugPanel
pyramid_debugtoolbar.panels.sqla.SQLADebugPanel
pyramid_debugtoolbar.panels.tweens.TweensDebugPanel
pyramid_debugtoolbar.panels.introspection.IntrospectionDebugPanel
###
# wsgi server configuration
###
[server:main]
use = egg:waitress#main
host = 0.0.0.0
port = 6543
###
# logging configuration
# http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html
###
[loggers]
keys = root, monaem, sqlalchemy
[handlers]
keys = console
[formatters]
keys = generic
[logger_root]
level = INFO
handlers = console
[logger_monaem]
level = DEBUG
handlers =
qualname = monaem
[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][%(threadName)s] %(message)s