diff --git a/INSTALL.rst b/INSTALL.rst index 60ea7b370..0d7d349e7 100644 --- a/INSTALL.rst +++ b/INSTALL.rst @@ -48,7 +48,7 @@ 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 @@ -56,6 +56,18 @@ If the setup scripts fails because of missing vocabularies: $ cd /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: diff --git a/scripts/server b/scripts/server index 81735e60e..b1cefd735 100755 --- a/scripts/server +++ b/scripts/server @@ -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=$!