Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.34 KB

README.rst

File metadata and controls

36 lines (25 loc) · 1.34 KB

CDS-ILS

This is the CERN Document Server source code overlay for InvenioILS.

Update dependencies

To update Python dependencies you need to run npm install in the target deployment environment:

$ docker run -it --platform="linux/amd64" --rm -v $(pwd):/app -w /app \
    registry.cern.ch/inveniosoftware/almalinux:1 \
    sh -c "dnf install -y openldap-devel && pip install -e . && pip freeze > requirements.new.txt"

To update JS dependencies you need to run npm install in the target deployment environment:

$ cd ui
$ rm -rf package-lock.json node_modules
# Run the container with x86_64 architecture and install packages
$ docker run -it --platform="linux/amd64" --rm -v $(pwd):/app -w /app node:14-alpine sh -c "npm install"