1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2024-12-22 12:42:19 +01:00

indexer.py: Improve inline documentation

This commit is contained in:
Alan Orth 2018-09-25 12:23:31 +03:00
parent d0552f5047
commit bfceffd84d
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -20,17 +20,15 @@
# ---
#
# Connects to a DSpace Solr statistics core and ingests item views and downloads
# into a Postgres database for use with other applications (an API, for example).
# into a PostgreSQL database for use by other applications (like an API).
#
# This script is written for Python 3 and requires several modules that you can
# install with pip (I recommend setting up a Python virtual environment first):
# This script is written for Python 3.5+ and requires several modules that you
# can install with pip (I recommend using a Python virtual environment):
#
# $ pip install SolrClient
# $ pip install SolrClient psycopg2-binary
#
# See: https://solrclient.readthedocs.io/en/latest/SolrClient.html
# See: https://wiki.duraspace.org/display/DSPACE/Solr
#
# Tested with Python 3.5 and 3.6.
from database import database_connection
from solr import solr_connection