更新自述文件
magestore-aim的Python项目详细描述
原件
此回购协议已从auto_install_magento_package
如何使用
这个包提供了函数install\u magento以便使用在Docker引擎上运行的magento-apache安装magento。
函数具有必需的参数:
- env_参数:(类型:dict)
- magento_版本:(类型:str)x.x.x
例如:2.2.5 - magento_type(可选):(type:str)ce(Comunity版本)或ee(企业版),默认值ce
- sample_data(可选):(类型:bool)true或false,默认值false
- performance\u test:(type:bool)true或false(此密钥仅在示例数据为false时有效且必需)
- peformance_test_profile(可选):(type:str)(此密钥仅在示例数据为false且性能测试为true时有效且必需) 有效值:small,medium,medium msite,large,extra large
- php(可选):(类型:str)x.x.x,默认值7.1.25
- magento_版本:(类型:str)x.x.x
- server_params:(类型:dict)
- ip:(type:str)删除服务器IP地址
- user:(type:str)远程服务器用户名
- 密钥路径:(类型:str)连接到远程服务器的本地私钥文件路径
- password:(type:str)远程服务器密码(如果key_path有值,则此密钥是可选的)
- gitlab_access_令牌:(type:str)具有访问infrastructurerepo权限的gitlab_access_令牌
How to get gitlab access token
- 安装软件包magestore aim
- 将函数导入其他文件
frommagestore_aimimportinstall_magento
- 执行并等待结果