Metadata-Version: 2.1
Name: magestore-aim
Version: 1.6.4
Summary: Change key name
Home-page: https://magestore.com
Author: Mars
Author-email: mars@trueplus.vn
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3
Description-Content-Type: text/markdown
Requires-Dist: cryptography (==2.4.2)
Requires-Dist: fabric
Requires-Dist: packaging

## Original 
This repo has been moved from [auto_install_magento_package](https://gitlab.com/general-oil/infrastructure/tree/master/Tool/auto_install_magento_package)


## How to use
This package provided function *install_magento* for install magento using [magento-apache](https://gitlab.com/general-oil/infrastructure/tree/master/Environment/Magento/DemoPortalApache) running on docker engine.  
The function has required params, * mean required param:
+ **env_params***: (type:dict) 
  + *magento_version**: (type:str) 'x.x.x'  
  e.g: 2.2.5
  + *magento_type*: (type:str) **'ce'** (Comunity Edition) or **'ee'** (Enterprise Edition), default 'ce'
  + *sample_data*: (type:bool) True or False, default False
  + *performance_test*: (type:bool) True or False (this key only has effective and required when sample_data is False)
  + *peformance_test_profile*: (type:str) (this key only has effective and required when sample_data is False and performance_test is True) 
  valid values : **'small'**, **'medium'**, **'medium_msite'**, **'large'**, **'extra_large'**
  + *php_version*: (type:str) 'x.x.x', default '7.1.25'  
+ **server_params**: (type:dict)
  + *ip**: (type:str) remove server ip address
  + *user**: (type:str) remote server username
  + *password**: (type:str) remote server password (if 'KEY_PATH' has value, this key is optional)
  + *key_path**: (type:str) local private key file path to conect to remote server
+ **gitlab_access_token***: (type:str) gitlab_access_token that have permission to access to [infrastructure](https://gitlab.com/general-oil/infrastructure) repo  
[How to get gitlab access token](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html)
1. Install package *magestore-aim*
2. Import function to other file
```python
from magestore_aim import install_magento
```
3. Execute it and wait for result


