From af6ae67253809aace8942dc6be455159bb26ee49 Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Thu, 8 May 2025 14:36:42 +0100 Subject: [PATCH] First working with forked theme --- Dockerfile | 2 +- docker-compose.yaml | 3 ++- invenio.cfg | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6b53f84..3789393 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM ghcr.io/front-matter/invenio-rdm-starter:latest RUN /opt/invenio/.venv/bin/python -m ensurepip -RUN /opt/invenio/.venv/bin/python -m pip install invenio-theme-tugraz invenio-records-lom +RUN /opt/invenio/.venv/bin/python -m pip install invenio-theme-iform==4.15.9 invenio-records-lom RUN /opt/invenio/.venv/bin/python -m pip uninstall -y pip RUN invenio collect RUN apt install -y npm diff --git a/docker-compose.yaml b/docker-compose.yaml index 809655c..8fecc01 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -118,7 +118,8 @@ services: db: condition: service_started worker: - command: "celery -A invenio_app.celery worker --beat --events --loglevel=WARNING" + build: + context: . networks: - invenio-network image: ghcr.io/front-matter/invenio-rdm-starter:latest diff --git a/invenio.cfg b/invenio.cfg index 2b08bdf..4c96a73 100644 --- a/invenio.cfg +++ b/invenio.cfg @@ -88,8 +88,8 @@ SEND_FILE_MAX_AGE_DEFAULT = 300 # SECRET_KEY= # App theming settings -EXTENSIONS = ["invenio_theme_tugraz"] -APP_THEME = ["invenio-theme-tugraz", "semantic-ui"] +EXTENSIONS = ["invenio_theme_iform"] +APP_THEME = ["invenio-theme-iform", "semantic-ui"] # Since HAProxy and Nginx route all requests no matter the host header # provided, the allowed hosts variable is set to localhost. In production it