Make sure to install UV on your Operating system.
Use UV to create and activate a virtual environment:
uv venv --prompt uv-env && source .venv/bin/activate && uv pip install -e path/to/package
uv syncSynchronize and install all dependencies:
uv pip install -e path/to/package
uv syncUpdate your pyproject.toml file to include all necessary dependencies
dependencies = [
"invenio-override ~=0.0.3"
]uv syncCompile and build assets for the project:
uv run invenio-cli assets buildSet up and start required services:
uv run invenio-cli services destroy
uv run invenio-cli services setupStart the Invenio application:
uv run invenio-cli runissues related to architecture (e.g., -84 architecture errors) on macOS systems, particularly with Apple Silicon chips (M1/M2), use the following command to resolve them:
export SYSTEM_VERSION_COMPAT=1
arch -arm64 brew install python