Source

openbiblio / openbiblio / config / deployment.ini_tmpl

The default branch has multiple heads

Full commit
#
# openbiblio - Pylons configuration
#
# The %(here)s variable will be replaced with the parent directory of this file
#
[DEFAULT]
debug = true
email_to = you@yourdomain.com
smtp_server = localhost
error_email_from = paste@localhost

[server:main]
use = egg:Paste#http
host = 0.0.0.0
port = 5000

[app:main]
## ==============================================
## Standard pylons config
## ==============================================
use = egg:openbiblio
full_stack = true
static_files = true
cache_dir = %(here)s/data
beaker.session.key = openbiblio
beaker.session.secret = ${app_instance_secret}
app_instance_uuid = ${app_instance_uuid}

# 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

## ==============================================
## Open biblio specific
## ==============================================

## Site title (to use throughout site e.g. in <title></title>
site_title = Bibliographica

# repoze.who config
who.config_file = %(here)s/who.ini
who.log_level = warning
who.log_file = %(cache_dir)s/who_log.ini

ordf.readers = rdflib
ordf.writers = rdflib
# rdflib.store = Virtuoso
# rdflib.args = DSN=VOS;UID=dba;PWD=dba;WideAsUTF16=Y
rdflib.args = %(cache_dir)s/rdflib_sleepycat
rdflib.store = Sleepycat

### change this for production use. it affects all uris that are minted
### and import of data
ordf.edit = ['s@^http://.*bibliographica.org/@http://localhost:5000/@']
ontosrv.base = http://localhost:5000/
ontosrv.default_lens = http://localhost:5000/lens/bibo

openbiblio.account_private = %(here)s/data/account_private
openbiblio.person_private = %(here)s/data/person_private
openbiblio.apikeys = %(here)s/data/apikeys
openbiblio.serials = %(here)s/data/serials
openbiblio.serial_prefix = BB

solr.server = http://localhost:8983/solr

# Bibliographica.org solr server
# solr.server = http://solr.okfn.org/solr/bibliographica.org
## NB requires the 'usual' authentication user/pass

# Set these if required by the solr instance
#solr.http_user = foo
#solr.http_pass = bar

# prov_agent = 

## deliverance proxying
## set to any value to enable
# deliverance.enabled = 1
## base url to proxy to
# deliverance.dest = http://blog.bibliographica.org

## ==============================================
## Logging configuration
## ==============================================
[loggers]
keys = root

[handlers]
keys = console

[formatters]
keys = generic

[logger_root]
level = INFO
handlers = console

[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic

[formatter_generic]
format = %(asctime)s %(levelname)-5.5s [%(name)s] %(message)s