source: OpenWorkouts-current/production.ini @ 5ec3a0b

currentfeature/docs
Last change on this file since 5ec3a0b was 5ec3a0b, checked in by borja <borja@…>, 5 years ago

Imported sources from the old python2-only repository:

  • Modified the code so it is python 3.6 compatible
  • Fixed deprecation warnings, pyramid 1.10.x supported now
  • Fixed deprecation warnings about some libraries, like pyramid-simpleform
  • Added pytest-pycodestyle and pytest-flakes for automatic checks on the source code files when running tests.
  • Added default pytest.ini setup to enforce some default parameters when running tests.
  • Cleaned up the code a bit, catched up with tests coverage.
  • Property mode set to 100644
File size: 981 bytes
Line 
1###
2# app configuration
3# https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html
4###
5
6[app:main]
7use = egg:ow
8
9pyramid.reload_templates = false
10pyramid.debug_authorization = false
11pyramid.debug_notfound = false
12pyramid.debug_routematch = false
13pyramid.default_locale_name = en
14
15zodbconn.uri = file://%(here)s/Data.fs?connection_cache_size=20000
16
17retry.attempts = 3
18
19###
20# wsgi server configuration
21###
22
23[server:main]
24use = egg:waitress#main
25listen = *:6543
26
27###
28# logging configuration
29# https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html
30###
31
32[loggers]
33keys = root, ow
34
35[handlers]
36keys = console
37
38[formatters]
39keys = generic
40
41[logger_root]
42level = WARN
43handlers = console
44
45[logger_ow]
46level = WARN
47handlers =
48qualname = ow
49
50[handler_console]
51class = StreamHandler
52args = (sys.stderr,)
53level = NOTSET
54formatter = generic
55
56[formatter_generic]
57format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s
Note: See TracBrowser for help on using the repository browser.