{"id":27996466,"url":"https://github.com/norakgithub/ha-django","last_synced_at":"2025-05-08T21:44:01.664Z","repository":{"id":46852174,"uuid":"243002935","full_name":"NorakGithub/ha-django","owner":"NorakGithub","description":"High Availability Django Deployment","archived":false,"fork":false,"pushed_at":"2021-09-22T18:38:15.000Z","size":10,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-08T21:43:57.838Z","etag":null,"topics":[],"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/NorakGithub.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":"2020-02-25T13:12:25.000Z","updated_at":"2020-02-25T13:20:30.000Z","dependencies_parsed_at":"2022-08-02T16:15:42.043Z","dependency_job_id":null,"html_url":"https://github.com/NorakGithub/ha-django","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorakGithub%2Fha-django","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorakGithub%2Fha-django/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorakGithub%2Fha-django/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorakGithub%2Fha-django/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NorakGithub","download_url":"https://codeload.github.com/NorakGithub/ha-django/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253153972,"owners_count":21862438,"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":[],"created_at":"2025-05-08T21:43:57.549Z","updated_at":"2025-05-08T21:44:01.656Z","avatar_url":"https://github.com/NorakGithub.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django High Availability\n## With Docker Compose\n\nThe goal is to deploy web application without down the server, using green blue deployment technique.\n## Flow\n\n### Build Docker Image\nNavigate to your terminal and `cd` to project directory.\n```bash\nexport CUR_TAG:0.0.1\nexport NEW_TAG:0.0.1\nmake build-django\n```\n\n### Running Project\n```bash\nmake initial\n```\n\nNow image with tag 0.0.1 should be running.\n\n### Test Deploying New Tag\nOpen a new terminal window or tap, make sure you are in the project directory.\n\n```bash\nexport NEW_TAG:0.0.2\nmake build-django\nmake test-status\n```\n\nAfter running `make test-status` it will loop curling API, to see if we deploy new tag and service down or not.\n\n### Deploy new version\nOpen a new terminal window or tap, make sure you are in the project directory.\n```bash\nexport NEW_TAG:0.0.2\nmake deploy\n```\n\n# License\nCopyright (c) 2020 Khemanorak Khath\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\nDAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\nOTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE\nOR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorakgithub%2Fha-django","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnorakgithub%2Fha-django","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorakgithub%2Fha-django/lists"}