{ "info": { "author": "Cristian Morataya", "author_email": "cris.morataya@gmail.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7" ], "description": "# py-ng-deploy\n\n## Requirements\n* node\n* angular-cli\n* python3\n\n## Install\n**_Recomended_**\n```\npip install py-ng-deploy\n```\n**_Alternative_**\n* Clone this repo: \n`$ git clone https://github.com/ccmorataya/py-ng-deploy.git`\n* Change dir to _py-ng-deploy:_ \n`$ cd py-ng-deploy`\n* Install with _setup.py:_ \n`$ python setup.py install`\n\n## Usage\n### Info\nShows version, simple usage and notify if the actual folder doesn't has an rc file.\n```\n$ pyngDeploy\n```\n\n> **NOTE** `pyngDeploy` needs to be runned inside the angular project\n\n### Initialize project\n```\n$ pyngDeploy init\n```\n\n>_After `init` is required to edit the .pyngdeployrc file with the following structure:_\n\n```ini\n[dev]\nHost = localhost\nUsername = user\nPassword = pass\nRemoteDir = /remote/dir/path\n\n[prod]\nHost = localhost\nUsername = user\nPassword = pass\nRemoteDir = /remote/dir/path\n```\n\n> **Remember to exclude the `.pyngdeployrc` file from git**\n\n### Build and upload (development)\n```\n$ pyngDeploy dev\n```\n\n### Build and upload (production)\n```\n$ pyngDeploy prod\n```\n\n### Build with hash in `` and upload (development)\n```\n$ pyngDeploy dev --hash\n```\n\n### Restore last backup\n```\n$ pyngDeploy dev --restore\n```\n\n## TODO\n- [X] Avoid leaving `None` the `cnopts.hostKeys`\n- [X] Change rcfile to configuration file (.ini)\n- [X] Add colors to `pyngDeploy` messages\n- [X] Add check for .pyngdeployrc when `pyngDeploy` is lauched and send warning\n- [X] Improve upload integration from Windows to Linux\n- [X] Add `Port` key in .pyngdeployrc and read it\n- [ ] Add flag `--skip-build`\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ccmorataya/py-ng-deploy", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "py-ng-deploy", "package_url": "https://pypi.org/project/py-ng-deploy/", "platform": "", "project_url": "https://pypi.org/project/py-ng-deploy/", "project_urls": { "Homepage": "https://github.com/ccmorataya/py-ng-deploy" }, "release_url": "https://pypi.org/project/py-ng-deploy/0.0.14/", "requires_dist": [ "pysftp (>=0.2.9)", "colorama" ], "requires_python": "", "summary": "Compile angular project and upload to sftp", "version": "0.0.14" }, "last_serial": 5396661, "releases": { "0.0.14": [ { "comment_text": "", "digests": { "md5": "842358b86856a1234499e96e2a8292e2", "sha256": "00143b7acb9063942742ac821e4bcb972e244ff941856da8b27ac6632726a503" }, "downloads": -1, "filename": "py_ng_deploy-0.0.14-py3-none-any.whl", "has_sig": false, "md5_digest": "842358b86856a1234499e96e2a8292e2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6535, "upload_time": "2019-06-13T16:21:31", "url": "https://files.pythonhosted.org/packages/86/12/a4415d09826eb2b7f6ade39d65a0182b352ea13edf7272d636bb043231bc/py_ng_deploy-0.0.14-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "16e6b3e0f1e52b1b6af9a26f1ed8ea6f", "sha256": "5b92637654711dff1f43c8cbcc2f1cf664f8f91ed7129326a1cbdb26773cf298" }, "downloads": -1, "filename": "py-ng-deploy-0.0.14.tar.gz", "has_sig": false, "md5_digest": "16e6b3e0f1e52b1b6af9a26f1ed8ea6f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5045, "upload_time": "2019-06-13T16:21:33", "url": "https://files.pythonhosted.org/packages/18/cb/99f68bf2e6d0bc04938fa016e45279c0d86e3767e605f58b5d05a8fb8a57/py-ng-deploy-0.0.14.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "842358b86856a1234499e96e2a8292e2", "sha256": "00143b7acb9063942742ac821e4bcb972e244ff941856da8b27ac6632726a503" }, "downloads": -1, "filename": "py_ng_deploy-0.0.14-py3-none-any.whl", "has_sig": false, "md5_digest": "842358b86856a1234499e96e2a8292e2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6535, "upload_time": "2019-06-13T16:21:31", "url": "https://files.pythonhosted.org/packages/86/12/a4415d09826eb2b7f6ade39d65a0182b352ea13edf7272d636bb043231bc/py_ng_deploy-0.0.14-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "16e6b3e0f1e52b1b6af9a26f1ed8ea6f", "sha256": "5b92637654711dff1f43c8cbcc2f1cf664f8f91ed7129326a1cbdb26773cf298" }, "downloads": -1, "filename": "py-ng-deploy-0.0.14.tar.gz", "has_sig": false, "md5_digest": "16e6b3e0f1e52b1b6af9a26f1ed8ea6f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5045, "upload_time": "2019-06-13T16:21:33", "url": "https://files.pythonhosted.org/packages/18/cb/99f68bf2e6d0bc04938fa016e45279c0d86e3767e605f58b5d05a8fb8a57/py-ng-deploy-0.0.14.tar.gz" } ] }