mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2024-11-22 14:25:01 +01:00
Rename project to DSpace Statistics API
At first I called it "CGSpace" because I was making it specifically for our CGSpace DSpace repository, but the potential here is bigger than that!
This commit is contained in:
parent
bac764a0a4
commit
e1b9d1284f
@ -1,4 +1,4 @@
|
|||||||
# CGSpace Statistics API
|
# DSpace Statistics API
|
||||||
A quick and dirty REST API to expose Solr view and download statistics for items in a DSpace repository.
|
A quick and dirty REST API to expose Solr view and download statistics for items in a DSpace repository.
|
||||||
|
|
||||||
Written and tested in Python 3.6. SolrClient (0.2.1) does not currently run in Python 3.7.0.
|
Written and tested in Python 3.6. SolrClient (0.2.1) does not currently run in Python 3.7.0.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=CGSpace Statistics API
|
Description=DSpace Statistics API
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
@ -7,9 +7,9 @@ Environment=SOLR_SERVER=http://localhost:8081/solr
|
|||||||
Environment=SOLR_CORE=statistics
|
Environment=SOLR_CORE=statistics
|
||||||
User=nobody
|
User=nobody
|
||||||
Group=nogroup
|
Group=nogroup
|
||||||
WorkingDirectory=/opt/ilri/cgspace-statistics-api
|
WorkingDirectory=/opt/ilri/dspace-statistics-api
|
||||||
ExecStart=/opt/ilri/cgspace-statistics-api/venv/bin/gunicorn \
|
ExecStart=/opt/ilri/dspace-statistics-api/venv/bin/gunicorn \
|
||||||
--bind 127.0.0.1:5000 \
|
--bind 127.0.0.1:5000 \
|
||||||
app:api
|
app:api
|
||||||
ExecReload=/bin/kill -s HUP $MAINPID
|
ExecReload=/bin/kill -s HUP $MAINPID
|
||||||
ExecStop=/bin/kill -s TERM $MAINPID
|
ExecStop=/bin/kill -s TERM $MAINPID
|
Loading…
Reference in New Issue
Block a user