Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: db7b332324
Fetching contributors…

Cannot retrieve contributors at this time

140 lines (114 sloc) 4.433 kB
# Copyright (c) 2012 University of Oxford
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, --INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# rdfdatabank - Pylons 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 = you@yourdomain.com
smtp_server = localhost
error_email_from = paste@databank
[server:main]
use = egg:Paste#http
#Use these setings to run pylons using mod_wsgi and apache
#host = 127.0.0.1
#port = 5000
#Use these settings tp run pylons from the commandline
host = 0.0.0.0
port = 80
[app:main]
use = egg:rdfdatabank
full_stack = true
static_files = true
sqlalchemy.url = mysql://databanksqladmin:d6sqL4dm;n@localhost:3306/databankauth
sqlalchemy.pool_recycle = 3600
cache_dir = /var/cache/databank
beaker.session.key = rdfdatabank
beaker.session.secret = somesecret
who.config_file = /var/lib/databank/who.ini
who.log_level = debug
who.log_file = stdout
#who.log_file = /var/log/databank/who.log
redis.host = localhost
granary.store = /silos
granary.uri_root = http://databank/
#profile.log_filename = /var/log/databank/profile.log
#profile.path = /__profile__
#auth.file = /var/lib/databank/passwd
#auth.info = /var/lib/databank/rdfdatabank/config/users.py
doi.config = /var/lib/databank/rdfdatabank/config/doi_config.py
doi.count = /var/lib/databank/rdfdatabank/config/doi_count
broadcast.to = redis
broadcast.queue = silochanges
metadata.embargoed = False
solr.host = http://localhost:8080/solr
naming_rule = [^0-9a-zA-Z_\-\:]
naming_rule_humanized = Numbers, alphabets and -:
formats_served = text/html,text/xhtml,text/plain,application/json,application/rdf+xml,text/xml,text/rdf+n3,application/x-turtle,text/rdf+ntriples,text/rdf+nt
publisher = Bodleian Libraries, University of Oxford
rights = http://ora.ouls.ox.ac.uk/objects/uuid%3A1d00eebb-8fed-46ad-8e38-45dbdb4b224c
license = CC0 1.0 Universal (CC0 1.0). See http://creativecommons.org/publicdomain/zero/1.0/legalcode
#license = Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. See http://creativecommons.org/licenses/by-nc-sa/3.0/
api.version = 0.3
# If you'd like to fine-tune the individual locations of the cache data dirs
# for the Cache data, or the Session saves, un-comment the desired settings
# here:
#beaker.cache.data_dir = %(here)s/data/cache
#beaker.session.data_dir = %(here)s/data/sessions
# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
# Debug mode will enable the interactive debugging tool, allowing ANYONE to
# execute malicious code after an exception is raised.
#set debug = false
# Logging configuration
[loggers]
keys = root, routes, rdfdatabank
[handlers]
keys = console, logfile
[formatters]
keys = generic
[logger_root]
level = INFO
handlers = console
[logger_routes]
level = INFO
handlers = console
qualname = routes.middleware
# "level = DEBUG" logs the route matched and routing variables.
[logger_rdfdatabank]
level = DEBUG
handlers = console
qualname = rdfdatabank
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[handler_logfile]
class = FileHandler
level = INFO
formatter = generic
args = ('/var/log/databank/databank.log', 'w')
[formatter_generic]
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
datefmt = %H:%M:%S
Jump to Line
Something went wrong with that request. Please try again.