Skip to content

Commit

Permalink
global: fix covers loading on localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
kpsherva committed Jun 19, 2020
1 parent 6174b21 commit 24d302a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 13 additions & 1 deletion INSTALL.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,26 @@ Next, create database tables, search indexes and message queues:
.. code-block:: console
$ ./scripts/setup
If the setup scripts fails because of missing vocabularies:

.. code-block:: console
$ cd <your-virtualenv-path>/invenio-app-ils/invenio_app_ils
$ pipenv run ils setup --verbose
Covers
------

If the covers are not displayed first run the server (to start celery)
and after the setup script:

.. code-block:: console
$ ./scripts/server
$ ./scripts/setup
Running
-------
Start the webserver and the celery worker:
Expand Down
2 changes: 2 additions & 0 deletions scripts/server
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ set -e
script_path=$(dirname "$0")

export FLASK_ENV=development
export SYNDETIC_CLIENT=cernlibrary
export SERVER_NAME=localhost:5000
# Start Worker and Server
pipenv run celery worker -A invenio_app.celery -l INFO & pid_celery=$!

Expand Down

0 comments on commit 24d302a

Please sign in to comment.