Invenio-Cli
Command-line tool to create and manage an InvenioRDM instance.
Installation
$ pip install invenio-cli
Usage
Local Development environment
# Initialize environment and cd into <created folder>
$ invenio-cli init rdm
$ cd <created folder>
# Install locally
# install python dependencies (pre-release versions needed for now),
# link/copy assets + statics, install js dependencies, build assets and
# final statics
$ invenio-cli install --pre
# Start and setup services (database, Elasticsearch, Redis, queue)
$ invenio-cli services
# Optional: add demo data
$ invenio-cli demo --local
# Run the server
$ invenio-cli run
# Update assets or statics
$ invenio-cli update
Customizations
It is possible to choose between two python package managers: pipenv and uv. To customize the python package manager it is necessary to add the line python_package_manager = VALUE to the .invenio file in the [cli] section. VALUE is uv or pipenv.
It is possible to choose between two javascript package managers: npm and pnpm. To customize the python package manager it is necessary to add the line javascript_package_manager = VALUE to the .invenio file in the [cli] section. VALUE is npm or pnpm.
It is possible to choose between two assets builders: webpack and rspack. To use rspack add WEBPACKEXT_PROJECT = “invenio_assets.webpack:rspack_project” to the invenio.cfg file.
It is possible to send invenio commands to a long running RPC server instead of starting a new Python process for each command. To enable this add the line use_rpc = true to the [cli] section of the .invenio file. The server listens on a Unix domain socket at <instance_path>/rpc.sock (override it with rpc_socket_path = PATH in the [cli] section of .invenio.private) and is started automatically when needed; invenio-cli stops it again on exit.
Containerized ‘Production’ environment
# Initialize environment and cd into <created folder>
$ invenio-cli init rdm
$ cd <created folder>
# Spin-up InvenioRDM
$ invenio-cli containerize
# Optional: add demo data
$ invenio-cli demo --containers
# After updating statics or code, if you do not need to re-install JS
# dependencies which can take time
$ invenio-cli containerize --no-install-js
More Help
# Get more help
$ invenio-cli --help
Further documentation is available on https://invenio-cli.readthedocs.io/
Metadata
Release files for invenio-cli 1.14.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| invenio_cli-1.14.0.tar.gz | 36.2 kB | Without provenance | Details for invenio_cli-1.14.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| invenio_cli-1.14.0-py3-none-any.whl | Python 3 | none | any | Details for invenio_cli-1.14.0-py3-none-any.whl |
Total release size: 90.8 kB
Release files / invenio_cli-1.14.0.tar.gz
| Download URL | invenio_cli-1.14.0.tar.gz |
|---|---|
| Size | 36.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84b5577eeaf4932cd33d5636f2c3d2963d905a782c493a02ec4f8065bb809db3
|
|
BLAKE2b-256 checksum How to use checksums |
c522680468a74d6f4022323b07cc3a70fdc1ca0fe47d6470695d90dac1a22b95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / invenio_cli-1.14.0-py3-none-any.whl
| Download URL | invenio_cli-1.14.0-py3-none-any.whl |
|---|---|
| Size | 54.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c2a32bf6f3838ac9e41ad1fd15ec080b4fcd2484512bf8c4895f6ab256b54707
|
|
BLAKE2b-256 checksum How to use checksums |
ee4a2ecdd26ce17c1bfdc1a869c718e4d78d09f3a5143c30d0386f898106b9d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for invenio-cli 1.14.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.