From bfceffd84d37573801453e57badbf590fe2ce9aa Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 25 Sep 2018 12:23:31 +0300 Subject: [PATCH] indexer.py: Improve inline documentation --- indexer.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/indexer.py b/indexer.py index 46f7eb4..08de139 100755 --- a/indexer.py +++ b/indexer.py @@ -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