mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2024-11-25 15:48:20 +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:
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)
|
- DSpace with [Solr usage statistics enabled](https://wiki.duraspace.org/display/DSDOC5x/SOLR+Statistics) (tested with 5.x)
|
||||||
|
|
||||||
## Installation and Testing
|
## 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
|
$ pipenv install --dev
|
||||||
$ . venv/bin/activate
|
$ pipenv shell
|
||||||
$ pip install -r requirements.txt
|
|
||||||
|
|
||||||
Set up the environment variables for Solr and PostgreSQL:
|
Set up the environment variables for Solr and PostgreSQL:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user