- node
- angular-cli
- python3
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
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
$ 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/pathRemember to exclude the
.pyngdeployrcfile from git
$ pyngDeploy dev
$ pyngDeploy prod
$ pyngDeploy dev --hash
$ pyngDeploy dev --restore
- 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