1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2024-11-24 07:10:17 +01:00
dspace-statistics-api/config.py
Alan Orth a51422273c
Remove SOLR_CORE configuration variable
This parameter is not customizable. All DSpace instances use this
name for the Solr statistics core.
2018-09-24 00:20:54 +03:00

9 lines
247 B
Python

import os
# Check if Solr connection information was provided in the environment
SOLR_SERVER = os.environ.get('SOLR_SERVER', 'http://localhost:8080/solr')
SQLITE_DB = os.environ.get('SQLITE_DB', 'statistics.db')
# vim: set sw=4 ts=4 expandtab: