Skip to content

vedph/cadmus-tes-app

Repository files navigation

Cadmus TES App

This project was generated using Angular CLI version 21.1.2.

Docker

🐋 Quick Docker image build:

  1. pnpm run build-lib.
  2. update version in env.js and ng build --configuration production.
  3. docker build . -t vedph2020/cadmus-tes-app:0.0.4 -t vedph2020/cadmus-tes-app:latest (replace with the current version).

⚠️ Note: to enable Zotero lookup, you must add an env.local.js file next to the env.js file with a content like this:

// development overrides for env.js
// DO NOT COMMIT THIS FILE TO THE REPOSITORY

// Zotero
window.__env.zoteroApiKey = "...put API key here...";
window.__env.zoteroUserId = "...put Zotero numeric user ID here...";
window.__env.zoteroLibraryId = "...put Zotero numeric library ID here...";

Typically you do it in your host by adding a volume in the docker-compose.yml script and creating the JS file in the same folder of the script, e.g.:

  # Cadmus NDP App
  cadmus-tes-app:
    # ...
    volumes:
      - ./env.js:/usr/share/nginx/html/env.js
      - ./env.local.js:/usr/share/nginx/html/env.local.js

About

Cadmus TES frontend app.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors