Build package from local and deploy to 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.0.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for magestore_aup-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a45e4ac99ef9419f0b2d67669775475d6dad5e3705210188441f4f97b7b4fd7 |
|
MD5 | 9990415ae25aeec48c3ad7d4e2d711a2 |
|
BLAKE2b-256 | 534ec8535278e30ae5ab9c0edf6035dc69e0aae0112daeb7b88472ab22d9c376 |