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:
parent
df7de93964
commit
888f85d19e
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue