This project was generated using Angular CLI version 21.1.2.
🐋 Quick Docker image build:
pnpm run build-lib.- update version in
env.jsandng build --configuration production. docker build . -t vedph2020/cadmus-tes-app:0.0.4 -t vedph2020/cadmus-tes-app:latest(replace with the current version).
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