Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ FROM eclipse-temurin:17-jre-alpine
RUN apk add --no-cache bash gettext

RUN mkdir -p /rems/keys
RUN mkdir -p /rems/theme/extra-translations

WORKDIR /rems

Expand All @@ -13,6 +14,7 @@ ENTRYPOINT ["bash","./docker-entrypoint.sh"]
ADD https://github.com/CSCfi/rems/releases/download/v2.38.1/rems.jar /rems/rems.jar
COPY config.edn.template /rems/config/config.edn.template
COPY example-theme/extra-styles.css /rems/example-theme/extra-styles.css
COPY theme/extra-translations/en.edn /rems/theme/extra-translations/en.edn
COPY docker-entrypoint.sh /rems/docker-entrypoint.sh

RUN chmod 664 /opt/java/openjdk/lib/security/cacerts
2 changes: 2 additions & 0 deletions config.edn.template
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
:catalogue-tree-show-matching-parents true
:enable-autosave true
:extra-stylesheets {:root "./" :files ["/theme/styles.css"]}
:smtp {:host "${SMTP_HOST}" :user "${SMTP_USER}" :pass "${SMTP_PASSWORD}" :port 587 :ssl true}
:mail-from "${SMTP_SENDER}"
;; :theme-path "/rems/theme/theme.edn"
;; :extra-pages-path "/rems/extra-pages"
}
2 changes: 1 addition & 1 deletion resources/translations/en.edn
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@
;; %4 - %:invitation-url% - invitation link
:workflow-handler-invitation {:message "Dear %:recipient%,\n\n%:invited-by% has invited you to be a handler of applications of workflow %:workflow%.\n\nYou can view the workflow at %:invitation-url%"
:subject "Invitation to handle applications"}}
:footer "CSC – IT Center for Science"
:footer "Australian BioCommons"
:form {:accepted-licenses "Accepted terms of use"
:actions "Actions"
:add-comment "Add comment"
Expand Down
1 change: 1 addition & 0 deletions theme/extra-translations/en.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{:t {:footer "Australian Cardiovascular disease Data Commons" }}