Created
December 9, 2014 20:50
-
-
Save amatiasq/be8c238f6470c3872187 to your computer and use it in GitHub Desktop.
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
[app:api] | |
use = egg:thefc | |
pyramid.debug = true | |
pyramid.reload_templates = true | |
pyramid.debug_authorization = false | |
pyramid.debug_notfound = true | |
pyramid.debug_routematch = false | |
pyramid.default_locale_name = en | |
pyramid.includes = | |
pyramid_tm | |
auth.whitelist = a, swti23y508923y5082y089214y24389tg3948, 2450236578923652789562984329843721hd1236409 | |
auth.cmskys = b, 2450236578923652789562984329843721hd1236409 | |
;sqlalchemy.url=mssql+pyodbc://thefc_prod:0D3E1494-068C-469F-9DB3-2D98FB4F5557@psjlbac9vm.database.windows.net/thefc?port=1433&driver=FreeTDS&tds_version=8.0 | |
;sqlalchemy.url=mssql+pyodbc://thefc_demo:0D3E1494-068C-469F-9DB3-2D98FB4F5557@psjlbac9vm.database.windows.net/thefc-demo?port=1433&driver=FreeTDS&tds_version=8.0 | |
;sqlalchemy.url=mssql+pyodbc://thefc_ci:0D3E1494-068C-469F-9DB3-2D98FB4F5557@psjlbac9vm.database.windows.net/thefc-ci?port=1433&driver=FreeTDS&tds_version=8.0 | |
sqlalchemy.url=mssql+pyodbc://thefc_local:0D3E1494-068C-469F-9DB3-2D98FB4F5557@xpiv9c0pn7.database.windows.net/thefc-local?port=1433&driver=FreeTDS&tds_version=8.0 | |
frontend.domain = local.thefc.com | |
mandrill.apikey=BhBaFA_FNKP6GwJv8rrCpg | |
[email protected] | |
getty.api_url=https://connect.gettyimages.com | |
getty.api_key=ed7ukfzcffzn3fwgzqqvgs9b | |
getty.api_secret=qpDjtwnTYVmAuxPnVyhGnHRUdzSPfevtxMcxh5mXf3vn8 | |
getty.api_user=axelspringer_ideas_api | |
getty.api_pwd=SosOqpSKK2E4w1C | |
session.type = file | |
session.data_dir = %(here)s/data | |
session.secret = 23498r3qhsilubhda;kjcwahxqnyodx2q09rcyufmhdoymaxduiltc53qgckw43 | |
session.cookie_on_exception = true | |
session.auto = False | |
session.cookie_expires = False | |
[filter:paste_prefix] | |
use = egg:PasteDeploy#prefix | |
[pipeline:main] | |
pipeline = | |
paste_prefix | |
egg:WebError#evalerror | |
api | |
[server:main] | |
use = egg:Paste#http | |
host = 0.0.0.0 | |
#127.0.0.1 | |
port = 8081 | |
[alembic] | |
script_location = alembic | |
file_template=%%(year)d%%(month).2d%%(day).2d-%%(hour).2d%%(minute).2d%%(second).2d-%%(rev)s-%%(slug)s | |
### | |
# logging configuration | |
# http://docs.pylonsproject.org/projects/pyramid/en/1.5-branch/narr/logging.html | |
### | |
[loggers] | |
keys = root, thefc, sqlalchemy | |
[handlers] | |
keys = console | |
[formatters] | |
keys = generic | |
[logger_root] | |
level = DEBUG | |
handlers = console | |
[logger_thefc] | |
level = DEBUG | |
handlers = | |
qualname = thefc | |
[logger_sqlalchemy] | |
level = DEBUG | |
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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment