1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2024-11-26 08:08:19 +01:00

README.md: Update instructions

This commit is contained in:
Alan Orth 2018-10-14 18:45:40 +03:00
parent daf15610f2
commit 9323513794
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -14,10 +14,13 @@ Create a Python virtual environment and install the dependencies:
$ . venv/bin/activate $ . venv/bin/activate
$ pip install -r requirements.txt $ pip install -r requirements.txt
Set up the environment variables Solr and PostgreSQL: Set up the environment variables for Solr and PostgreSQL:
$ export SOLR_SERVER=http://localhost:8080/solr $ export SOLR_SERVER=http://localhost:8080/solr
$ $ export DATABASE_NAME=dspacestatistics
$ export DATABASE_USER=dspacestatistics
$ export DATABASE_PASS=dspacestatistics
$ export DATABASE_HOST=localhost
$ gunicorn app:api $ gunicorn app:api
## Deployment ## Deployment