跳转到主要内容

"Invenio模块,用于简化应用程序的创建和管理。"

项目描述

https://img.shields.io/travis/inveniosoftware/invenio-cli.svg https://img.shields.io/coveralls/inveniosoftware/invenio-cli.svg https://img.shields.io/github/tag/inveniosoftware/invenio-cli.svg https://img.shields.io/pypi/dm/invenio-cli.svg https://img.shields.io/github/license/inveniosoftware/invenio-cli.svg

用于创建和管理InvenioRDM实例的命令行工具。

安装

$ pip install invenio-cli

使用方法

本地开发环境

# 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

容器化“生产”环境

# 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

更多帮助

# Get more help
$ invenio-cli --help

更多文档可在https://invenio-cli.readthedocs.io/找到

更改

版本1.5.0(发布日期:2024-08-01)

  • 依赖项:更新invenio-app-rdm v12

版本1.4.0(发布日期:2024-07-12)

  • 服务:添加对InvneioILS设置的兼容性

版本1.3.1(发布日期:2024-06-05)

  • 配置:修复缺少“instance_path”使用

版本1.3.0(发布日期:2024-05-24)

  • 依赖项:由于requests的bug,将docker锁定为>=7.1.0

  • 服务:在设置时添加实例路径到环境变量

版本1.2.0(发布日期:2023-10-02)

  • 在invenio.cfg更改时重新加载

版本1.1.0(发布日期:2023-07-24)

  • 添加对docker compose v2的兼容性

  • 在安装命令中使用时考虑命令错误并失败

版本1.0.21(发布日期:2023-05-18)

  • 依赖项:支持docker < 7以兼容urllib3 v2

版本1.0.20(发布日期:2023-03-134)

  • 设置:将队列初始化步骤添加到步骤中

版本1.0.19(发布日期:2023-03-10)

  • 全局:删除警告信息上的失败消息(即软失败)

版本1.0.18(发布日期:2023-02-07)

  • 容器化:修复翻译命令的实例路径

版本1.0.17(发布日期:2023-01-30)

  • 需求:根据app-rdm版本检查node版本

版本1.0.16(发布日期:2023-01-30)

  • 将cookiecutter升级到v11.0

版本 1.0.15(发布日期 2023-01-13)

  • 安装:修复空翻译文件夹失败的错误

版本 1.0.14(发布日期 2023-01-09)

  • 将 app-rdm 固件添加到安装中

版本 1.0.13(发布日期 2022-11-14)

  • 在缺少目录的情况下允许编译命令失败。

版本 1.0.12(发布日期 2022-10-28)

  • 添加对翻译(i18n)管理命令的支持。

版本 1.0.11(发布日期 2022-10-24)

  • 添加对 InvenioILS 的支持。

版本 1.0.8(发布日期 2022-10-13)

  • 修复检查服务是否正常运行时的问题。

版本 1.0.7(发布日期 2022-10-10)

  • 修复与 RDM 版本

版本 1.0.6(发布日期 2022-10-10)

  • 提升默认 RDM 版本。

版本 1.0.5(发布日期 2022-05-31)

  • 提升 click 版本。

  • 提升默认 RDM 版本。

  • 改进错误处理。

  • 添加对 npm 版本的检查。

  • 将 ImageMagick 检查移至 –development。

版本 1.0.4(发布日期 2022-02-14)

  • 修复了虚拟环境 20.13.1+ 带入 setuptools 60.x 导致的问题,该版本与 Celery v5.2.3 不兼容。一旦 Celery v5.2.4 发布,此修复就不再需要。

版本 1.0.3(发布日期 2022-02-04)

  • 为 init 添加了 --no-input--config= 选项,以支持使用预定义配置运行,且无需用户输入。

版本 1.0.0(发布日期 2021-08-05)

  • 首次公开发布。

项目详情


发布历史 发布通知 | RSS 源

下载文件

下载适用于您平台的应用程序文件。如果您不确定要选择哪个,请了解有关 安装软件包 的更多信息。

源分布

invenio-cli-1.5.0.tar.gz (45.6 kB 查看哈希值)

上传时间:

构建分发

invenio_cli-1.5.0-py2.py3-none-any.whl (46.6 kB 查看哈希值)

上传时间: Python 2 Python 3

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面