{"id":24373303,"url":"https://github.com/nklsw/django-docker-starter","last_synced_at":"2026-04-09T20:33:31.697Z","repository":{"id":272933235,"uuid":"918219398","full_name":"nklsw/django-docker-starter","owner":"nklsw","description":"Boilerplate for dockerized Django projects using uv","archived":false,"fork":false,"pushed_at":"2025-01-17T13:53:32.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-11T04:40:44.712Z","etag":null,"topics":["boilerplate","boilerplate-application","boilerplate-template","django","docker","docker-compose","python","python313","starter","template","uv"],"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/nklsw.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,"zenodo":null}},"created_at":"2025-01-17T13:41:58.000Z","updated_at":"2025-04-14T15:36:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"0eaa17b8-0091-4bd7-8ebe-9f903a7965a3","html_url":"https://github.com/nklsw/django-docker-starter","commit_stats":null,"previous_names":["nklsw/django-docker-starter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nklsw/django-docker-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nklsw%2Fdjango-docker-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nklsw%2Fdjango-docker-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nklsw%2Fdjango-docker-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nklsw%2Fdjango-docker-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nklsw","download_url":"https://codeload.github.com/nklsw/django-docker-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nklsw%2Fdjango-docker-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273377153,"owners_count":25094528,"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-09-03T02:00:09.631Z","response_time":76,"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":["boilerplate","boilerplate-application","boilerplate-template","django","docker","docker-compose","python","python313","starter","template","uv"],"created_at":"2025-01-19T05:10:34.751Z","updated_at":"2026-04-09T20:33:31.645Z","avatar_url":"https://github.com/nklsw.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# django-docker-starter\n\nAn opinionated boilerplate project using Django with a dockerized development environment and a production-ready docker image for deployment.\n\n- Django 5.1\n- Python 3.13\n- Postgres 17\n- Docker Compose for local development\n- Dockerfile for building a production-ready image\n- Justfile recipes\n- uv for package and project management\n- ruff, pytest, django-environ, and many more nice tools\n\n\n## Get Started\nThis project leverages [uv](https://docs.astral.sh/uv/getting-started/installation/), [just](https://github.com/casey/just) and [Docker Compose](https://docs.docker.com/compose/install/) for managing the development environment. Make sure you have installed he necessary dependencies for running them on your local machine.\n\nInitialize the dev environment with the `just bootstrap` recipe. This will build the dev image and prepare everything before you can start the app and the dependant infrastructure services with the `just start` recipe. Stop all services with hitting `CTRL+C` or using the `just stop` recipe in another terminal. \n\n```sh\njust bootstrap\njust start\n```\n\n## Usage\nThe most used project commands are available as just recipe:\n```shell\njust [recipe]\n```\n\n```make\nAvailable recipes:\n    bootstrap *ARGS   # bootstrap project\n    build *ARGS       # build project\n    start *ARGS       # start project\n    stop *ARGS        # stop project\n    infra-start *ARGS # start infra services\n    infra-stop *ARGS  # stop infra services\n    app-start *ARGS   # start django app\n    app-stop *ARGS    # start django app\n    run *ARGS         # uv run command in container\n    manage *ARGS      # run django management command\n    env               # copy .env.example to .env if not exists\n    pre *ARGS         # run pre-commit processes\n    ruff *ARGS        # run ruff linting \u0026 formatting\n    test *ARGS        # run tests\n    test-cov *ARGS    # run tests with coverage\n    clean *ARGS       # clean up cache files etc.\n```\n\n\n## Acknowledgement\nThis boilerplate is inspired by [Nick Janetakis' docker-django-example](https://github.com/nickjj/docker-django-example) and [Jeff Triplett's django-startproject](https://github.com/jefftriplett/django-startproject/). I used a lot of patterns, practices and also code snippets from their projects. I highly recommend taking a look at their repos as it may be more usefull. This boilerplate is an opinionated copy/mix of their work to make it fit my personal needs.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnklsw%2Fdjango-docker-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnklsw%2Fdjango-docker-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnklsw%2Fdjango-docker-starter/lists"}