Hide npm WARN when build package
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.8.tar.gz
(4.3 kB
view details)
Built Distribution
File details
Details for the file magestore_aup-1.1.8.tar.gz
.
File metadata
- Download URL: magestore_aup-1.1.8.tar.gz
- Upload date:
- Size: 4.3 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 | 60597fab78f553e21bf5324e5aab5cbc4215d667d92647aa3ba5f4ac595a4e58 |
|
MD5 | 308840f0ba8f922cd40b8aea0a8751b2 |
|
BLAKE2b-256 | 6bcf8d5a9d2810285fbee09c75c29c3a13f396eb350bd43b3400b3e1a27f4494 |
Provenance
File details
Details for the file magestore_aup-1.1.8-py3-none-any.whl
.
File metadata
- Download URL: magestore_aup-1.1.8-py3-none-any.whl
- Upload date:
- Size: 5.3 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 | 2d8b25ad6abcfc969e409b03ead91635a78b13fc653ec29272cd705709f8f7c6 |
|
MD5 | 3f531a2f79a8446998a0579f88465d18 |
|
BLAKE2b-256 | a07d419a5372a63ea85399e7f1d94cb9de3bb2b0d58f2d38917cc6a04c576816 |