{"id":44547320,"url":"https://github.com/digitalfortress-dev/django-templates","last_synced_at":"2026-02-13T19:19:29.517Z","repository":{"id":209429605,"uuid":"611213463","full_name":"digitalfortress-dev/django-templates","owner":"digitalfortress-dev","description":"Our optimized Django templates used in our projects","archived":false,"fork":false,"pushed_at":"2025-03-26T09:06:15.000Z","size":45,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T09:37:08.912Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://digitalfortress.dev/","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/digitalfortress-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}},"created_at":"2023-03-08T11:05:59.000Z","updated_at":"2025-03-26T09:06:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"d856152b-385c-4b11-af65-632e83afd071","html_url":"https://github.com/digitalfortress-dev/django-templates","commit_stats":null,"previous_names":["digitalfortress-dev/django-templates"],"tags_count":0,"template":true,"template_full_name":"digitalfortress-dev/git-templates","purl":"pkg:github/digitalfortress-dev/django-templates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalfortress-dev%2Fdjango-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalfortress-dev%2Fdjango-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalfortress-dev%2Fdjango-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalfortress-dev%2Fdjango-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digitalfortress-dev","download_url":"https://codeload.github.com/digitalfortress-dev/django-templates/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalfortress-dev%2Fdjango-templates/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29414927,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-02-13T19:19:29.376Z","updated_at":"2026-02-13T19:19:29.491Z","avatar_url":"https://github.com/digitalfortress-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.digitalfortress.dev/\"\u003e\n    \u003cpicture\u003e\n      \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://digitalfortress-s3-bucket-vpcxuhhdwecuj.s3.amazonaws.com/Group+1410083530.svg\"\u003e\n      \u003cimg alt=\"Digital Fortress logo\" src=\"https://digitalfortress-s3-bucket-vpcxuhhdwecuj.s3.amazonaws.com/Group+1410083530.svg\"\u003e\n    \u003c/picture\u003e    \n  \u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n# Django template\n\n## Usage\n\n### Option 1: Run with Docker Compose\n\n#### Prerequisites\n- [Docker](https://www.docker.com/)\n- [Docker Compose](https://docs.docker.com/compose/)\n\n#### Steps\n1. Start the application using Docker Compose:\n   ```\n   docker-compose -f ./docker-compose.local.yml up -d\n   ```\n\n2. Access the application at [http://localhost:8000](http://localhost:8000).\n\n   - API documentation URL: [http://localhost:8000/api/v1/docs](http://localhost:8000/api/v1/docs)\n\n3. To stop the application:\n   ```\n   docker-compose -f ./docker-compose.local.yml down\n   ```\n\n---\n\n### Option 2: Run Manually\n\n#### Prerequisites\n- [PostgreSQL](https://www.postgresql.org/)\n- [uv](https://docs.astral.sh/uv/)\n\n#### Setup Environment\n\n1. Install dependencies:\n   ```\n   uv sync\n   source .venv/bin/activate\n   ```\n\n2. Initialize the `.env` file:\n   ```\n   cp .env.example .env\n   ```\n\n3. Update the `.env` file with your environment variables.\n\n4. Migrate the database:\n   ```\n   python manage.py migrate\n   ```\n\n#### Launch Application\n\n1. Start the development server:\n   ```\n   python manage.py runserver 0.0.0.0:8000\n   ```\n\n2. Access the application at [http://localhost:8000](http://localhost:8000).\n\n   - API documentation URL: [http://localhost:8000/api/v1/docs](http://localhost:8000/api/v1/docs)\n\n---\n\n### Docker (Manual Build and Run)\n\n#### Prerequisites\n- [Docker](https://www.docker.com/)\n\n#### Steps\n1. Build the Docker image:\n   ```\n   docker build \\\n   --build-arg ENV=dev \\\n   --build-arg SECRET_KEY=your_key \\\n   --build-arg ALLOWED_HOSTS=localhost \\\n   --build-arg HOST=http://localhost:8000/ \\\n   --build-arg DB_NAME=django_template \\\n   --build-arg DB_USERNAME=your_username \\\n   --build-arg DB_PASSWORD=your_password \\\n   --build-arg DB_HOST=host.docker.internal \\\n   --build-arg DB_PORT=5432 \\\n   --build-arg JWT_SIGNING_KEY=your_key \\\n   --build-arg CORS_ALLOWED_ORIGINS=http://localhost:8000 \\\n   -t django-template:latest .\n   ```\n\n2. Run the Docker container:\n   ```\n   docker run -p 8000:80 django-template\n   ```\n\n---\n\n## Install Pre-commit Hooks\n\nTo ensure code quality, install pre-commit hooks:\n```\npre-commit install\n```\n\n---\n\n## License\n\nThis project is Copyright (c) 2023 and onwards Digital Fortress. It is free software and may be redistributed under the terms specified in the [LICENSE] file.\n\n[LICENSE]: /LICENSE\n\n## About\n\u003ca href=\"https://www.digitalfortress.dev/\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://digitalfortress-s3-bucket-vpcxuhhdwecuj.s3.amazonaws.com/Group+1410083530.svg\"\u003e\n    \u003cimg alt=\"Digital Fortress logo\" src=\"https://digitalfortress-s3-bucket-vpcxuhhdwecuj.s3.amazonaws.com/Group+1410083530.svg\" width=\"160\"\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e\n\nThis project is made and maintained by Digital Fortress.\n\nWe are an experienced team in R\u0026D, software, hardware, cross-platform mobile and DevOps.\n\nSee more of [our projects][projects] or do you need to complete one?\n\n-\u003e [Let’s connect with us][website]\n\n[projects]: https://github.com/digitalfortress-dev\n[website]: https://www.digitalfortress.dev\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitalfortress-dev%2Fdjango-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigitalfortress-dev%2Fdjango-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitalfortress-dev%2Fdjango-templates/lists"}