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:
parent
daf15610f2
commit
9323513794
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user