yura_kyziv / store-locator-module
测试
dev-main
2022-12-14 11:42 UTC
Requires
- php: ~7.4.0
- magento/framework: *
This package is not auto-updated.
Last update: 2024-09-24 20:33:24 UTC
README
``mastering/module-storelocator``
主要功能
测试
安装
* = 在生产环境中请使用 --keep-generated
选项
类型 1:Zip 文件
- 在
app/code/Mastering
中解压缩 zip 文件 - 通过运行
php bin/magento module:enable Mastering_StoreLocator
启用模块 - 通过运行
php bin/magento setup:upgrade
应用数据库更新* - 通过运行
php bin/magento cache:flush
清除缓存
类型 2:Composer
- 使模块在 composer 存储库中可用,例如
- 私有存储库
repo.magento.com
- 公共存储库
packagist.org
- 公共 GitHub 存储库作为 vcs
- 私有存储库
- 通过运行
composer config repositories.repo.magento.com composer https://repo.magento.com/
将 composer 存储库添加到配置中 - 通过运行
composer require mastering/module-storelocator
安装模块 composer - 通过运行
php bin/magento module:enable Mastering_StoreLocator
启用模块 - 通过运行
php bin/magento setup:upgrade
应用数据库更新* - 通过运行
php bin/magento cache:flush
清除缓存