diff --git a/budgets/Budget-Vorlage-2020.xlsx b/budgets/Budget-Vorlage-2020.xlsx new file mode 100644 index 0000000..14d7e8e Binary files /dev/null and b/budgets/Budget-Vorlage-2020.xlsx differ diff --git a/budgets/recipients.txt b/budgets/recipients.txt new file mode 100644 index 0000000..bef717c --- /dev/null +++ b/budgets/recipients.txt @@ -0,0 +1,2 @@ +frey@imtek.de +brandstetter@imtek.de diff --git a/development.ini b/development.ini index 89439eb..46ea615 100644 --- a/development.ini +++ b/development.ini @@ -29,7 +29,7 @@ mail.debug = 0 # SMTP debug level mail.debug_include_bcc = true # Include Bcc headers when Debugging [pshell] -setup = ordr3.pshell.setup +setup = superx_budget.pshell.setup ### # wsgi server configuration @@ -45,7 +45,7 @@ listen = localhost:6543 ### [loggers] -keys = root, ordr3, sqlalchemy +keys = root, superx_budget [handlers] keys = console @@ -57,18 +57,10 @@ keys = generic level = INFO handlers = console -[logger_ordr3] +[logger_superx_budget] level = DEBUG handlers = -qualname = ordr3 - -[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.) +qualname = superx_budget [handler_console] class = StreamHandler diff --git a/production.ini.template b/production.ini.template new file mode 100644 index 0000000..eba52e6 --- /dev/null +++ b/production.ini.template @@ -0,0 +1,72 @@ +### +# app configuration +# https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html +### + +[app:main] +use = egg:superx_budget + +pwd.db = + $argon2id$v=19$m=102400,t=2,p=8$f48xZqyVUsoZg5AyJmRszQ$5Bn/u67+2pHNBxe5g0UFnw + $argon2id$v=19$m=102400,t=2,p=8$vheCMKa0dq7V2nuPUWrtXQ$pfomI8eG74mKulf1Elp0JA + +auth.secret = "change me in production" +session.secret = "change me in production" +budgets.dir = %(here)s/bugets + +pyramid.reload_templates = false +pyramid.includes = + pyramid_mailer + +mail.host = "localhost" # SMTP host +mail.port = 2525 # SMTP port +mail.username = "" # SMTP username +mail.password = "" # SMTP password +mail.tls = true # Use TLS +#mail.ssl = true # Use SSL +mail.default_sender = "" # Default from address +mail.debug = 0 # SMTP debug level +mail.debug_include_bcc = true # Include Bcc headers when Debugging + +[pshell] +setup = superx_budget.pshell.setup + +### +# wsgi server configuration +### + +[server:main] +use = egg:waitress#main +listen = localhost:6543 + +### +# logging configuration +# https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html +### + +[loggers] +keys = root, superx_budget + +[handlers] +keys = console + +[formatters] +keys = generic + +[logger_root] +level = WARN +handlers = console + +[logger_superx_budget] +level = WARN +handlers = +qualname = superx_budget + +[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