{"id":19249451,"url":"https://github.com/dori-dev/dblog","last_synced_at":"2025-08-15T19:17:37.672Z","repository":{"id":113238472,"uuid":"472705602","full_name":"dori-dev/dblog","owner":"dori-dev","description":"Using any tools to create advance blog with Django!","archived":false,"fork":false,"pushed_at":"2022-07-22T14:24:40.000Z","size":4903,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-21T12:43:33.180Z","etag":null,"topics":["blog","django","django-rest-framework","docker","nginx","postgresql","python","python3","website"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dori-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2022-03-22T09:57:38.000Z","updated_at":"2023-02-16T08:42:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"27cbb190-20de-45c8-b073-31512f253ca1","html_url":"https://github.com/dori-dev/dblog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dori-dev/dblog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dori-dev%2Fdblog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dori-dev%2Fdblog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dori-dev%2Fdblog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dori-dev%2Fdblog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dori-dev","download_url":"https://codeload.github.com/dori-dev/dblog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dori-dev%2Fdblog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270617837,"owners_count":24617122,"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-08-15T02:00:12.559Z","response_time":110,"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":["blog","django","django-rest-framework","docker","nginx","postgresql","python","python3","website"],"created_at":"2024-11-09T18:14:03.739Z","updated_at":"2025-08-15T19:17:37.660Z","avatar_url":"https://github.com/dori-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DBLOG\n\nUsing any tools to create advance blog with Django!\n\n# Technologies\n\n- [Python 3](https://www.python.org/) - Programming Language\n- [Django 4](https://www.djangoproject.com/) - Powerful Web Framework\n- [Django Rest Framework](https://www.django-rest-framework.org/) - Web API's\n- [Gunicorn](https://gunicorn.org/) - WSGI HTTP Server\n- [PostgreSQL](https://www.postgresql.org/) - PostgreSQL Database\n- [NginX](https://www.nginx.com/) - High performance web server\n- [Docker](https://www.docker.com/) - Container Platform\n\n## Installation\n\nFirst **clone** or **download** this project.\n\n```sh\ngit clone https://github.com/dori-dev/dblog.git\ncd dblog\n```\n\nAccess Docker to use super user do\n```sh\nsudo usermod -aG docker ${USER}\n```\n\nThen create **docker network** and **volumes** as below.\n\n```sh\ndocker volume create dblog_postgresql\ndocker volume create dblog_static_volume\ndocker volume create dblog_files_volume\n```\n\n```sh\ndocker network create nginx_network\ndocker network create dblog_network\n```\n\nRun django and postgresql with **docker-compose**.\n\n```sh\ndocker-compose up -d\n```\n\nThen run nginx container with **docker-compose**.\n\n```sh\ncd config/nginx/\ndocker-compose up -d\n```\n\nYou can see dblog web page on http://localhost/, Template and API's are accessible by docker containers which you can see with below command.\n\n```sh\ndocker ps -a\n```\n\n**Output** should be like this.\n\n```sh\nCONTAINER ID   IMAGE               COMMAND                  CREATED             STATUS             PORTS                                       NAMES\n857914e957c2   nginx_dblog_nginx   \"/docker-entrypoint.…\"   9 minutes ago       Up 9 minutes       0.0.0.0:80-\u003e80/tcp, :::80-\u003e80/tcp           nginx_dblog_nginx_1\n49d2308fcf9b   dblog_dblog         \"gunicorn --chdir db…\"   About an hour ago   Up About an hour   0.0.0.0:8000-\u003e8000/tcp, :::8000-\u003e8000/tcp   dblog_dblog_1\n7b503cc55499   postgres:12         \"docker-entrypoint.s…\"   About an hour ago   Up About an hour   0.0.0.0:5432-\u003e5432/tcp, :::5432-\u003e5432/tcp   dblog_postgresql\n\n```\n\n**dblog_nginx** container as common web server, **dblog** container as django application and **dblog_postgresql** as postgreSQL database container.\n\n\n```sh\ndocker exec -it dblog bash\n```\n\nCreate admin user\n\n```sh\npython manage.py createsuperuser\n```\n\nYou can see dblog admin web page on http://localhost/admin/ and create article.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdori-dev%2Fdblog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdori-dev%2Fdblog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdori-dev%2Fdblog/lists"}