Flexible install sample data for customer or testing
Project description
## 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:
+ env_params: dict values, must contains all below keys:
+ magento_version: (type:string) 'x.x.x'
e.g: 2.2.5
+ sample_data: (type:bool) True or False
+ performance_test: (type:bool) True or False (this key only has effective and required when sample_data is False)
+ peformance_test_profile: (type:string) (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:string) 'x.x.x'
e.g: 7.1.20
+ server_params: dict values, must contains all below keys:
+ host: (type:string) remove server ip address
+ user: (type:string) remote server username
+ password: (type:string) remote server password (if 'KEY_PATH' has value, this key is optional)
+ key_path: (type:string) local private key file path to conect to remote server
+ git_credential: (type:string) git credential url that provided permission to access to [infrastructure](https://gitlab.com/general-oil/infrastructure) repo
1. Install package *magestore-aup*
2. Import function to other file
```python
from magestore_aup import install_magento
```
3. Execute it and wait for result
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:
+ env_params: dict values, must contains all below keys:
+ magento_version: (type:string) 'x.x.x'
e.g: 2.2.5
+ sample_data: (type:bool) True or False
+ performance_test: (type:bool) True or False (this key only has effective and required when sample_data is False)
+ peformance_test_profile: (type:string) (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:string) 'x.x.x'
e.g: 7.1.20
+ server_params: dict values, must contains all below keys:
+ host: (type:string) remove server ip address
+ user: (type:string) remote server username
+ password: (type:string) remote server password (if 'KEY_PATH' has value, this key is optional)
+ key_path: (type:string) local private key file path to conect to remote server
+ git_credential: (type:string) git credential url that provided permission to access to [infrastructure](https://gitlab.com/general-oil/infrastructure) repo
1. Install package *magestore-aup*
2. Import function to other file
```python
from magestore_aup import install_magento
```
3. Execute it and wait for result
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
magestore_aim-1.4.1.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for magestore_aim-1.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46f9a529564358c4422916e34ba7b99270db3dcee3be66e0adac0752a5948d2e |
|
MD5 | ac0fb4f1e27a61070a51dca8fd84cb32 |
|
BLAKE2b-256 | 63b0cdabba8a0318ed63138bed371db7e08e150dc13b9ec4bb77275d7f2893c1 |