agtech/module-poc

这是为CSP创建的静态值演示模块

安装: 0

依赖项: 0

建议者: 0

安全: 0

星标: 0

关注者: 2

分支: 0

公开问题: 0

类型:magento2-module

dev-master 2021-07-14 12:36 UTC

This package is auto-updated.

Last update: 2024-09-14 19:42:26 UTC


README

"agtech/module-poc"

主要功能

这是为CSP创建的静态值演示模块

安装

* = 在生产中请使用 --keep-generated 选项

类型 1:ZIP 文件

  • 将 ZIP 文件解压到 app/code/Agtech
  • 通过运行 php bin/magento module:enable Agtech_Poc 启用模块
  • 通过运行 php bin/magento setup:upgrade 应用数据库更新*
  • 通过运行 php bin/magento cache:flush 清除缓存

类型 2:Composer

  • 将模块添加到 composer 仓库中,例如
    • 私有仓库 repo.magento.com
    • 公共仓库 packagist.org
    • 作为 vcs 的公共 GitHub 仓库
  • 通过运行 composer config repositories.repo.magento.com composer https://repo.magento.com/ 将 composer 仓库添加到配置中
  • 通过运行 composer require agtech/module-poc 安装模块
  • 通过运行 php bin/magento module:enable Agtech_Poc 启用模块
  • 通过运行 php bin/magento setup:upgrade 应用数据库更新*
  • 通过运行 php bin/magento cache:flush 清除缓存

配置

  • 启用 CSP(csp/csp/enable)

规格

  • 助手
    • Agtech\Poc\Helper\Csp

属性