Created
November 25, 2014 13:28
-
-
Save jdesboeufs/439200131435a167593f to your computer and use it in GitHub Desktop.
Configuration locale OpenFisca
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# OpenFisca-Web-API - Development environment configuration | |
# | |
# The %(here)s variable will be replaced with the parent directory of this file. | |
[DEFAULT] | |
debug = true | |
# Uncomment and replace with the address which should receive any error reports | |
# email_to = [email protected] | |
# smtp_server = localhost | |
# error_email_from = [email protected] | |
# error_from = [email protected] | |
[server:main] | |
use = egg:gunicorn#main | |
workers = 3 | |
proc_name = openfisca | |
host = 127.0.0.1 | |
port = 2000 | |
# logconfig = %(here)s/development.ini | |
[app:main] | |
use = egg:OpenFisca-Web-API | |
cache_dir = %(here)s/cache | |
country_package = openfisca_france | |
log_level = DEBUG | |
# Logging configuration | |
[loggers] | |
keys = root, openfisca_web_api | |
[handlers] | |
keys = console | |
[formatters] | |
keys = generic | |
[logger_root] | |
level = INFO | |
handlers = console | |
[logger_openfisca_web_api] | |
level = DEBUG | |
handlers = | |
qualname = openfisca_web_api | |
[handler_console] | |
class = StreamHandler | |
args = (sys.stderr,) | |
level = NOTSET | |
formatter = generic | |
[formatter_generic] | |
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s | |
datefmt = %H:%M:%S |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gunicorn --paster development.ini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment