mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2024-11-14 02:27:02 +01:00
Alan Orth
06ab254017
There is a good example of this in the Project Weekend GitHub profile. See: https://github.com/projectweekend/Falcon-PostgreSQL-API-Seed
6 lines
210 B
Python
6 lines
210 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')
|
|
SOLR_CORE = os.environ.get('SOLR_CORE', 'statistics')
|