Remove deploy folder on local and remote server
Project description
## Prepare
Config visudo (run sudo without password) on local machine
```bash
sudo visudo
# add this line to end of file
# username is your current username
username ALL=(ALL) NOPASSWD: ALL
```
## How to use
This package provided function name **deploy**, it will update Magestore pwa pos package to any remote server.
The **deploy** function has required params:
+ *repo_name*: the name of repo that will be upload to remote server
+ *tag_name*: released package tag name
+ *github_access_token*: github personal access token that have permission to access the repo *repo_name*
+ *instance_info*: dict contains all remote server info (all required , except *web_container_id* only required when instance installed by [magento-apache](https://gitlab.com/general-oil/infrastructure/tree/master/Environment/Magento/DemoPortalApache) docker)
+ ip: server ip address
+ user: server username
+ password: username's password
+ local_key_file_path: path to private key file on local machine
+ source_folder: absolute path to magento source
+ web_container_id: web container id (installed by [magento-apache](https://gitlab.com/general-oil/infrastructure/tree/master/Environment/Magento/DemoPortalApache) docker)
Config visudo (run sudo without password) on local machine
```bash
sudo visudo
# add this line to end of file
# username is your current username
username ALL=(ALL) NOPASSWD: ALL
```
## How to use
This package provided function name **deploy**, it will update Magestore pwa pos package to any remote server.
The **deploy** function has required params:
+ *repo_name*: the name of repo that will be upload to remote server
+ *tag_name*: released package tag name
+ *github_access_token*: github personal access token that have permission to access the repo *repo_name*
+ *instance_info*: dict contains all remote server info (all required , except *web_container_id* only required when instance installed by [magento-apache](https://gitlab.com/general-oil/infrastructure/tree/master/Environment/Magento/DemoPortalApache) docker)
+ ip: server ip address
+ user: server username
+ password: username's password
+ local_key_file_path: path to private key file on local machine
+ source_folder: absolute path to magento source
+ web_container_id: web container id (installed by [magento-apache](https://gitlab.com/general-oil/infrastructure/tree/master/Environment/Magento/DemoPortalApache) docker)
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_aup-1.1.4.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for magestore_aup-1.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1d7011458d0aad425b2ff705a3ff97fa6cb874522053c72e023b1d23a2f6012 |
|
MD5 | 895e07a61504d72aed21c64d8cbc4506 |
|
BLAKE2b-256 | 72c2155f29400a5e23e85fa01a838a5cc4dc2d7fd11a30a4e34733166dbf1325 |