From 888f85d19e47b35a86376178a903d89296b27ef6 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 4 Nov 2018 16:07:27 +0200 Subject: [PATCH] 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. --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4e0e367..ed664ba 100644 --- a/README.md +++ b/README.md @@ -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: