shopgo / aws
将 AWS SDK 集成到 Magento 2 的模块
dev-master
2016-06-01 13:35 UTC
Requires
- php: ~5.5.0|~5.6.0|~7.0.0
- aws/aws-sdk-php: 3.*
- magento/framework: 100.0.*
This package is not auto-updated.
Last update: 2024-09-14 19:25:34 UTC
README
内容
摘要
一个集成 Magento 2 与 AWS 的实用模块。
概览
AWS 模块将 AWS SDK 集成到 Magento 2 中。它提供了一组辅助函数,可以被其他模块使用。
安装
以下提供了两种安装 aws 模块的方法。
1. 通过 Composer 安装(推荐)
首先,确保已经安装了 Composer: https://getcomposer.org/doc/00-intro.md
确保 Packagist 仓库没有被禁用。
运行 Composer require 来安装模块
php <your Composer install dir>/composer.phar require shopgo/aws*
2. 克隆 aws 仓库
使用 HTTPS 或 SSH 协议克隆 aws 仓库。
2.1. 复制代码
为 aws 模块创建一个目录,并将克隆的仓库内容复制到该目录中
mkdir -p <your Magento install dir>/app/code/ShopGo/Aws
cp -R <aws clone dir>/* <your Magento install dir>/app/code/ShopGo/Aws
更新 Magento 数据库和模式
如果您已将模块添加到现有的 Magento 安装中,请运行以下命令
php <your Magento install dir>/bin/magento setup:upgrade
验证模块是否已安装并启用
输入以下命令
php <your Magento install dir>/bin/magento module:status
以下确认您已正确安装模块,并且它已启用
example
List of enabled modules:
...
ShopGo_Aws
...
测试
待办事项
贡献者
Ammar (ammar@shopgo.me)