1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2024-11-25 07:40:17 +01:00

README.md: Adjust installation for pipenv

It's nicer to manager module versions using pipenv, and I can still
generate a requirements.txt for deploying the exact versions on the
production server.
This commit is contained in:
Alan Orth 2018-11-04 16:07:27 +02:00
parent df7de93964
commit 888f85d19e
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -10,11 +10,10 @@ This project contains an indexer and a [Falcon-based](https://falcon.readthedocs
- DSpace with [Solr usage statistics enabled](https://wiki.duraspace.org/display/DSDOC5x/SOLR+Statistics) (tested with 5.x)
## Installation and Testing
Create a Python virtual environment and install the dependencies:
Create a Python virtual environment and install the dependencies using [`pipenv`](https://github.com/pypa/pipenv):
$ python -m venv venv
$ . venv/bin/activate
$ pip install -r requirements.txt
$ pipenv install --dev
$ pipenv shell
Set up the environment variables for Solr and PostgreSQL: