{"id":26719982,"url":"https://github.com/solnustec/django-template","last_synced_at":"2026-04-27T12:04:52.097Z","repository":{"id":185359538,"uuid":"603474422","full_name":"solnustec/django-template","owner":"solnustec","description":"Template Django Project","archived":false,"fork":false,"pushed_at":"2025-08-30T06:14:02.000Z","size":67,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-30T08:17:06.652Z","etag":null,"topics":["django","python","template-project"],"latest_commit_sha":null,"homepage":"https://solnustec.com/","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/solnustec.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-02-18T16:16:38.000Z","updated_at":"2025-08-30T06:14:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"773f9c01-cc6e-4c27-9ac4-78bc6f616621","html_url":"https://github.com/solnustec/django-template","commit_stats":null,"previous_names":["solnustec/django-cloud","solnustec/django-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/solnustec/django-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solnustec%2Fdjango-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solnustec%2Fdjango-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solnustec%2Fdjango-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solnustec%2Fdjango-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solnustec","download_url":"https://codeload.github.com/solnustec/django-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solnustec%2Fdjango-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32335333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["django","python","template-project"],"created_at":"2025-03-27T18:30:43.582Z","updated_at":"2026-04-27T12:04:52.092Z","avatar_url":"https://github.com/solnustec.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @solnustec/django-template\n\nFirst, you need to change the project name in the following files:\n\n- `sonar-project.properties`\n- `infrastructure/compose.yml`\n- `local.yml`\n- `README.md`\n\n## Requirements\n\nYou need to install the following dependencies.\n\n1. [Python](https://www.python.org/): the min version required is `3.10`\n\n2. [Docker](https://docker.com): recommended in the latest version\n\n3. [Git](https://git-scm.com/): recommended in the latest version\n\n## Set-up\n\n- Run `docker compose -f local.yml build` in the root directory. This going to install all\n  the required packages.\n- Run `docker compose -f local.yml up` to start the server on port `8080`\n- Enjoy! 😊\n\nIf using the project's internal database, ensure PostgreSQL is up and running using Docker Compose:  \n\n`docker compose -f infrastructure/compose.yml up -d`\n\nIf using an external database, this step is not necessary. Ensure the external database credentials are correctly configured in the `.env` file.\n\n\n\n\nTo configure the project, you must create an .env file by copying the provided `back.env` template:\n\n```sh\ncp back.env .env\n```\nThen, update the .env file with the following environment variables:\n\n| Environment Variable          | Description                                                | Default Value           | Required |\n| ----------------------------- | ---------------------------------------------------------- | ----------------------- | -------- |\n| `DJANGO_SETTINGS_MODULE`      | Django settings module to load                            | `config.settings.local` | Yes      |\n| `DATABASE_HOST`               | Database host                                             | `host.docker.internal`  | Yes      |\n| `DATABASE_PORT`               | Database port                                             | `5454`                  | Yes      |\n| `DATABASE_NAME`               | Name of the PostgreSQL database                           | `django-template-db`    | Yes      |\n| `DATABASE_USER`               | Database username                                        | `postgres`              | Yes      |\n| `DATABASE_PASSWORD`           | Database password                                        | `123456`                | Yes      |\n\n## Running Tests \u0026 Code Formatting\n\nCommon commands for development tasks are available in the `Makefile`. To run them, use:\n\n```sh\nmake \u003ccommand\u003e\n```\n\n### **Setup Commands**\nThese commands help manage Django's database migrations.\n\n- `make migrations` → Create Django migrations.\n- `make migrate` → Apply migrations.\n\n### **Testing \u0026 Linting**\nCommands for running tests and ensuring code quality.\n\n- `make run-tests` → Run tests using `pytest` with database reuse.\n- `make lint` → Format code using `black` and `isort`.\n- `make lint-check` → Check code formatting without modifying files. Also runs `flake8` for linting.\n\n### **Pre-Push Checks**\nEnsure code quality and fix issues before pushing changes.\n\n- `make pre-push-fix` → Auto-fix backend issues using predefined scripts.\n- `make pre-push` → Run validation checks before pushing to GitHub.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolnustec%2Fdjango-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolnustec%2Fdjango-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolnustec%2Fdjango-template/lists"}