Remove a dirty line
Project description
## Original
This repo has been moved from [auto_upload_site_package](https://gitlab.com/general-oil/infrastructure/tree/master/Tool/auto_upload_site_package)
## 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)
This repo has been moved from [auto_upload_site_package](https://gitlab.com/general-oil/infrastructure/tree/master/Tool/auto_upload_site_package)
## 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)
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.9.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file magestore_aup-1.1.9.tar.gz
.
File metadata
- Download URL: magestore_aup-1.1.9.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75f17c6d5102c60e4ac0cfdb3fe2eedc37bd0aa6ec552cf5e839109744145919 |
|
MD5 | 6aacc3dd5c72da74ee0f6c352af4853e |
|
BLAKE2b-256 | 14b79f96eccb29b6455125053ea0f625ed8392c27d0fb714f25b8fb108eda2d6 |
Provenance
File details
Details for the file magestore_aup-1.1.9-py3-none-any.whl
.
File metadata
- Download URL: magestore_aup-1.1.9-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd896e25e177cbb8e269dfde954bec21ae20c989b7ce756d946b7c4a20bf8405 |
|
MD5 | 067ca1ff0201ce44dc63e46a0a7662f2 |
|
BLAKE2b-256 | bfe8157040b6530174008f4b47be98d533a7b566e953daf36b2dfd2b8f5cd22e |