From 5a64b3355fba81bfdd99ddf33dadefe1370751eb Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Thu, 26 Mar 2020 12:00:04 +0100 Subject: [PATCH] added production template --- budgets/Budget-Vorlage-2020.xlsx | Bin 0 -> 13949 bytes budgets/recipients.txt | 2 + development.ini | 16 ++----- production.ini.template | 72 +++++++++++++++++++++++++++++++ 4 files changed, 78 insertions(+), 12 deletions(-) create mode 100644 budgets/Budget-Vorlage-2020.xlsx create mode 100644 budgets/recipients.txt create mode 100644 production.ini.template diff --git a/budgets/Budget-Vorlage-2020.xlsx b/budgets/Budget-Vorlage-2020.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..14d7e8eeb3ccc1f06f359382cb734b9ab6f93e31 GIT binary patch literal 13949 zcmeHuWmFvL)@~!g-Q6v?dvJGmhsNFA0tBZaXpj(sySuv++}(l&2=14ebIvzsGIQ@b z_xE>dt*+`?ReN{u{XSdXdY@8~g@D8WKmlL?001e#l~X6*8w>ylc>@5T17N^)MIG#2 zf%dM3YF>^&7kx%gJ6n<*NN}2L0Ql?u|K0uoq~;l?~SL3hsL zcfubDF75SI?@TEIF&hWT-r;^)9+IAW$&}JM=az!<5DzaD7`}05hNbc~JYZT+A`jad z>1X@0ABfizT#?Y4r8oNpfvwI}t+mw4r(|c^TRFP^MyFV&5GQjsQmatU>*7N$x;a}( z7i60)PIGUn5N;`0p%YLp8Fv~od;tf}3&a-Gb0OtXE)zT2U0IKMx^ORua5D5#?(TH@ zNHBy)(@#5@ZoSZ=$9IQ0wZ#@9?nSV(GP8q`6jS{yd4u}wiwiXH*2J2+AL*oaMVZGL zd~DMb3F8qCuXPHXSMY&)*QZwkX)dDIc2NR<8{;SPK|>+VnlYY^+BnW9`m?TghKN`e z9_%>w*>sMbD>W+$MRldalxSbO#ZJ6Sm8qr0Coq>l-9231TPOhF ze8r*MYed4ohOD78(AI^C@wfedL-l`geEys1r3vziJP*B zq-y?w(ksYyF<&Y0S39T)P}K0=Lr4a+`9BUXuky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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