cordial / sync
2.4.6-p3
2024-02-05 17:21 UTC
This package is auto-updated.
Last update: 2024-04-16 18:20:57 UTC
README
Cordial/Magento 集成 RFP
安装
使用 Composer 安装
进入 Magento 2 根目录 (cd your-app-folder-name)
composer require cordial/magento2-sync-module
Composer 将自动安装依赖。
安装后注册扩展
bin/magento setup:upgrade
重新编译您的 Magento 项目
bin/magento setup:di:compile
验证扩展是否已启用
bin/magento module:status
手动安装
要安装模块,您需要将仓库克隆到您的 Magento 2 应用程序文件夹 "your-app-folder-name/app/code/cordial/magento2-sync-module"。例如(使用 https)
$ cd <your-app-folder-name>/app/code/
$ git clone https://gitlab.com/cordialinc/integrations/magento/magento2.git cordial/sync
或者直接从网站上下载并按相同方式解压缩。
启用扩展并清除静态视图文件
bin/magento module:enable Cordial_Sync --clear-static-content
注册扩展
bin/magento setup:upgrade
重新编译您的 Magento 项目
bin/magento setup:di:compile
验证扩展是否已启用
bin/magento module:status
更多详情请参阅 http://devdocs.magento.com/guides/v2.2/comp-mgr/install-extensions.html
升级 Magento 模块
下一步是升级您的应用程序以在 Magento 2 系统中注册模块。但在那之前,您需要确保这一点
$ ./bin/magento setup:db:status
因此,如果有必要,您需要进入 Magento 2 的根目录 (cd your-app-folder-name) 并输入
$ ./bin/magento setup:upgrade
别忘了模块的权限
sudo find . -type d -exec chmod 755 {} \; && sudo find . -type f -exec chmod 644 {} \;