{"id":18282407,"url":"https://github.com/muratenes/djangoautodeploy","last_synced_at":"2025-07-29T03:07:53.855Z","repository":{"id":111456482,"uuid":"329878015","full_name":"muratenes/djangoAutoDeploy","owner":"muratenes","description":"Django App serve on your server","archived":false,"fork":false,"pushed_at":"2021-01-15T10:33:39.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T05:28:59.701Z","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/muratenes.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":"2021-01-15T10:18:25.000Z","updated_at":"2021-01-15T10:33:42.000Z","dependencies_parsed_at":"2023-05-02T19:47:49.183Z","dependency_job_id":null,"html_url":"https://github.com/muratenes/djangoAutoDeploy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/muratenes/djangoAutoDeploy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muratenes%2FdjangoAutoDeploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muratenes%2FdjangoAutoDeploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muratenes%2FdjangoAutoDeploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muratenes%2FdjangoAutoDeploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muratenes","download_url":"https://codeload.github.com/muratenes/djangoAutoDeploy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muratenes%2FdjangoAutoDeploy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267621597,"owners_count":24116900,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2024-11-05T13:05:09.556Z","updated_at":"2025-07-29T03:07:53.826Z","avatar_url":"https://github.com/muratenes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## # Info\nDjango auto deployment with nginx and gunicorn\n## #Prerequisite\n - You should be firstly upload your website to github\n\n\n#### Install the dependencies for server.\n - Prepare to server for deploy your django project\n```sh\nsudo apt-get update\nsudo  apt-get install nginx python3-pip python3-dev git\nsudo  apt-get install virtualenv\n```\n\n## # Django Requirements\n- you must be create **requiments.txt** on your project folder and it's be contain \n django requirements ex is below\n ```sh\n       django==2.0\n       Pillow==2.0\n```\nor just execute below command on local terminal for create requirements.txt\n\u003cpre\u003e\n pip3 freeze -\u003e requirements.txt\n\u003c/pre\u003e\n### Bind Nginx And Gunicorn Config\nyou must be bind this fields on index.py example is below\n ```sh\n      SiteConfig.site_folder_name = \"site_folder_name\"  # only site folder name ex: autoDeployDjango\n    SiteConfig.project_name = \"project_name\"  # your site project name when created django-admin startproject mysite\n    SiteConfig.domain_list = \"domain_list\"  # nginx domain list its must be string and 1 space each domain ex:\"mydomain.com www.mydomain.com\"\n    SiteConfig.static_files_folder = \"static_files_folder\"  # django static file folder name ex:\"staticfiles\"\n    SiteConfig.media_files_folder = \"media_files_folder\"  # django media file folder name ex:\"media\"\n    SiteConfig.virtual_env_name = \"virtual_env_name\"  # django virtual environment  file folder name ex:\"venv\"\n    SiteConfig.github_repo_url = \"github_repo_url \" # your web site github repo url  ex : \"https://github.com/your_username/your_repo_url.git\"\n    SiteConfig.requirements_file_name = \"requirements_file_name\"  # this required for package requirements ex:\"requirements.txt\"\n```\n\n### How to delete old web site configuration on server ?\nif you want to delete old nginx,gunicorn and other configuration  files on your server you must be run this command on \nmain folder\n\n ```sh\n      python3 manage.py delete-old\n```\n\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuratenes%2Fdjangoautodeploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuratenes%2Fdjangoautodeploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuratenes%2Fdjangoautodeploy/lists"}