The project is managed with uv. uv sync creates
.venv and installs the locked dependencies (uv.lock) into it. Activate it to
use the commands below directly (or prefix them with uv run):
source .venv/bin/activateNote
uv sync makes the environment match exactly the extras you ask for and
removes the other ones. Always pass all the extras you need, f.e.
uv sync --extra rdm --extra tests.
To install the package without RDM or videos, run:
uv syncTo install the package with RDM, run:
uv sync --extra rdmTo see available RDM commands, run:
invenio migration --helpTo install the package with cds-videos, run:
uv sync --extra videosTo see available videos commands, run:
invenio migration videos --helpInstall rdm and test dependencies:
uv sync --extra rdm --extra testsRun the rdm tests:
./run-tests.sh rdmInstall videos and test dependencies:
uv sync --extra videos --extra testsRun the video tests:
./run-tests.sh videosgunicorn -b :8080 --timeout 120 --graceful-timeout 60 cds_migrator_kit.app:app