{"id":17845057,"url":"https://github.com/mukulmantosh/django-app","last_synced_at":"2026-04-09T12:43:59.905Z","repository":{"id":158166562,"uuid":"503567274","full_name":"mukulmantosh/django-app","owner":"mukulmantosh","description":"GitOps with Django \u0026 ArgoCD - Part I","archived":false,"fork":false,"pushed_at":"2022-06-17T00:48:31.000Z","size":3763,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-06T00:15:20.447Z","etag":null,"topics":["argocd","continous-delivery","django","docker","gitops","k8s","kubernetes","python","python3"],"latest_commit_sha":null,"homepage":"","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/mukulmantosh.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-15T00:54:11.000Z","updated_at":"2024-07-20T13:43:16.000Z","dependencies_parsed_at":"2023-07-12T21:45:11.334Z","dependency_job_id":null,"html_url":"https://github.com/mukulmantosh/django-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mukulmantosh/django-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukulmantosh%2Fdjango-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukulmantosh%2Fdjango-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukulmantosh%2Fdjango-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukulmantosh%2Fdjango-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mukulmantosh","download_url":"https://codeload.github.com/mukulmantosh/django-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mukulmantosh%2Fdjango-app/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259377508,"owners_count":22848371,"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":["argocd","continous-delivery","django","docker","gitops","k8s","kubernetes","python","python3"],"created_at":"2024-10-27T21:34:23.435Z","updated_at":"2025-12-30T22:38:15.103Z","avatar_url":"https://github.com/mukulmantosh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitOps with Django \u0026 ArgoCD - Part I\n\n![stack](./images/cover.png)\n\n\nThis is Django Starter Template which will be used in GitOps demo using ArgoCD.\n\n\n### Prerequisites\n\n- [x] [Docker](https://www.docker.com/) - Docker helps developers bring their ideas to life by conquering the complexity of app development.\n\n\n- [x] [Kubernetes](https://kubernetes.io/) - also known as K8s, is an \n open-source system for automating deployment, scaling, and management of containerized applications.\n\n\n- [x] [ArgoCD](https://argo-cd.readthedocs.io/en/stable/) - Argo CD is implemented as a kubernetes controller which continuously monitors running applications and compares the current, live state against the desired target state\n\n\n### ArgoCD Installation\n\nFollow the official docs of ArgoCD installation.\n\n* Before that make sure Docker Desktop or Minikube is running on your machine with K8s enabled.\n\n- [https://argo-cd.readthedocs.io/en/stable/](https://argo-cd.readthedocs.io/en/stable/)\n\n#### Commands\n\n```\nkubectl create namespace argocd\nkubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml\n```\n![argo_ui](./images/argocd-ui.gif)\n\n\n### DockerHub\n\nImages are being hosted in DockerHub. \n - [https://hub.docker.com/r/mukulmantosh/app-sample](https://hub.docker.com/r/mukulmantosh/app-sample)\n\n#### Dockerfile\n\n```dockerfile\nFROM python:3.10-alpine\n\n# set work directory\nWORKDIR /usr/src/app\n\n# set environment variables\nENV PYTHONDONTWRITEBYTECODE 1\nENV PYTHONUNBUFFERED 1\n\n# install dependencies\nRUN pip install --upgrade pip\nCOPY ./requirements.txt /usr/src/app\nRUN pip install -r requirements.txt\n\n# copy project\nCOPY . /usr/src/app\n\nEXPOSE 8000\n\nRUN python manage.py migrate\nRUN python manage.py create_dummy_user\n\nCMD [\"python\", \"manage.py\", \"runserver\", \"0.0.0.0:8000\"]\n```\n\n### Flow\n\n- Make sure Docker is Up and Running\n- Build \u0026 Upload the image to docker registry\n- Clone this repository : [https://github.com/mukulmantosh/django-app-k8s](https://github.com/mukulmantosh/django-app-k8s)\n- Update ```repoURL``` in the manifest file ```argo-app.yml``` \n- Update the manifest files pointed in the ```dev``` path\n- Make sure to point properly to the correct image registry\n- Next, follow the steps given in the ```django-app-k8s``` repository\n\n## References\n\nIf you are interested to know more about GitOps \u0026 ArgoCD, then you can follow the below links.\n\n- [Understanding Argo CD: Kubernetes GitOps Made Simple](https://codefresh.io/learn/argo-cd/)\n- [Guide To GitOps by WeaveWorks](https://www.weave.works/technologies/gitops/) ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmukulmantosh%2Fdjango-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmukulmantosh%2Fdjango-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmukulmantosh%2Fdjango-app/lists"}