py-ng-deploy
Requirements
- node
- angular-cli
- python3
Install
Recomended
pip install py-ng-deploy
Alternative
- Clone this repo:
$ git clone https://github.com/ccmorataya/py-ng-deploy.git - Change dir to py-ng-deploy:
$ cd py-ng-deploy - Install with setup.py:
$ python setup.py install
Usage
Info
Shows version, simple usage and notify if the actual folder doesn't has an rc file.
$ pyngDeploy
NOTE
pyngDeployneeds to be runned inside the angular project
Initialize project
$ pyngDeploy init
After
initis required to edit the .pyngdeployrc file with the following structure:
[dev]
Host = localhost
Username = user
Password = pass
RemoteDir = /remote/dir/path
[prod]
Host = localhost
Username = user
Password = pass
RemoteDir = /remote/dir/path
Remember to exclude the
.pyngdeployrcfile from git
Build and upload (development)
$ pyngDeploy dev
Build and upload (production)
$ pyngDeploy prod
Build with hash in <title> and upload (development)
$ pyngDeploy dev --hash
Restore last backup
$ pyngDeploy dev --restore
TODO
- Avoid leaving
Nonethecnopts.hostKeys - Change rcfile to configuration file (.ini)
- Add colors to
pyngDeploymessages - Add check for .pyngdeployrc when
pyngDeployis lauched and send warning - Improve upload integration from Windows to Linux
- Add
Portkey in .pyngdeployrc and read it - Add flag
--skip-build
Metadata
Release files for py-ng-deploy 0.0.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py-ng-deploy-0.0.14.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_ng_deploy-0.0.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.6 kB
Release files / py-ng-deploy-0.0.14.tar.gz
| Download URL | py-ng-deploy-0.0.14.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b92637654711dff1f43c8cbcc2f1cf664f8f91ed7129326a1cbdb26773cf298
|
|
BLAKE2b-256 checksum How to use checksums |
18cb99f68bf2e6d0bc04938fa016e45279c0d86e3767e605f58b5d05a8fb8a57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|
Release files / py_ng_deploy-0.0.14-py3-none-any.whl
| Download URL | py_ng_deploy-0.0.14-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00143b7acb9063942742ac821e4bcb972e244ff941856da8b27ac6632726a503
|
|
BLAKE2b-256 checksum How to use checksums |
8612a4415d09826eb2b7f6ade39d65a0182b352ea13edf7272d636bb043231bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
|