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: 'x.x.x'
e.g: 2.2.5
+ sample_data: sample data profile name (empty value for no sample data)
valid values : 'small', 'medium', 'medium_msite', 'large', 'extra_large'
+ php_version: 'x.x.x'
e.g: 7.1.20
+ server_params: dict values, must contains all below keys:
+ host: remove server ip address
+ user: remote server username
+ password: remote server password (if 'KEY_PATH' has value, this key is optional)
+ key_path: local private key file path to conect to remote server
+ git_credential: 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
```
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: 'x.x.x'
e.g: 2.2.5
+ sample_data: sample data profile name (empty value for no sample data)
valid values : 'small', 'medium', 'medium_msite', 'large', 'extra_large'
+ php_version: 'x.x.x'
e.g: 7.1.20
+ server_params: dict values, must contains all below keys:
+ host: remove server ip address
+ user: remote server username
+ password: remote server password (if 'KEY_PATH' has value, this key is optional)
+ key_path: local private key file path to conect to remote server
+ git_credential: 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
```
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.0.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for magestore_aim-1.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d61e234726baa9551978cca4d70fdf4950180f6e54412bf3da9695237bdde628 |
|
MD5 | 0b7ac63a24b20ceb697023d97aee0d10 |
|
BLAKE2b-256 | ff9a4c00dfab721d23a68a2a6362bd024c08d5a50d74c3f13800e7045790c06d |