{"id":15474782,"url":"https://github.com/ccmorataya/py-ng-deploy","last_synced_at":"2026-05-16T18:39:16.994Z","repository":{"id":62582079,"uuid":"188871452","full_name":"ccmorataya/py-ng-deploy","owner":"ccmorataya","description":null,"archived":false,"fork":false,"pushed_at":"2019-06-13T16:20:01.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-11T15:41:58.638Z","etag":null,"topics":["angular-cli","deployment","pysftp","python3"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ccmorataya.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-27T15:50:32.000Z","updated_at":"2019-06-13T16:20:03.000Z","dependencies_parsed_at":"2022-11-03T21:34:24.296Z","dependency_job_id":null,"html_url":"https://github.com/ccmorataya/py-ng-deploy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ccmorataya/py-ng-deploy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccmorataya%2Fpy-ng-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccmorataya%2Fpy-ng-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccmorataya%2Fpy-ng-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccmorataya%2Fpy-ng-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ccmorataya","download_url":"https://codeload.github.com/ccmorataya/py-ng-deploy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccmorataya%2Fpy-ng-deploy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265281066,"owners_count":23739860,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular-cli","deployment","pysftp","python3"],"created_at":"2024-10-02T03:04:16.557Z","updated_at":"2026-05-16T18:39:11.957Z","avatar_url":"https://github.com/ccmorataya.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 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\u003e **NOTE** `pyngDeploy` needs to be runned inside the angular project\n\n### Initialize project\n```\n$ pyngDeploy init\n```\n\n\u003e_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\u003e **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 `\u003ctitle\u003e` 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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccmorataya%2Fpy-ng-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fccmorataya%2Fpy-ng-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccmorataya%2Fpy-ng-deploy/lists"}