- 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
pyngDeploy
needs to be runned inside the angular project
$ pyngDeploy init
After
init
is 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
.pyngdeployrc
file from git
$ pyngDeploy dev
$ pyngDeploy prod
$ pyngDeploy dev --hash
$ pyngDeploy dev --restore
- Avoid leaving
None
thecnopts.hostKeys
- Change rcfile to configuration file (.ini)
- Add colors to
pyngDeploy
messages - Add check for .pyngdeployrc when
pyngDeploy
is lauched and send warning - Improve upload integration from Windows to Linux
- Add
Port
key in .pyngdeployrc and read it - Add flag
--skip-build