{"id":27385437,"url":"https://github.com/lordksix/django-template","last_synced_at":"2026-05-07T03:40:26.503Z","repository":{"id":213942372,"uuid":"735059806","full_name":"lordksix/django-template","owner":"lordksix","description":"Template to create a containerized Django app with PostgreSQL, Celery, RabbitMQ and Redis","archived":false,"fork":false,"pushed_at":"2024-01-02T09:51:02.000Z","size":69,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2024-05-17T15:48:25.397Z","etag":null,"topics":["celery","django","postgresql","rabbitmq","redis"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lordksix.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}},"created_at":"2023-12-23T14:18:19.000Z","updated_at":"2023-12-29T14:41:02.000Z","dependencies_parsed_at":"2023-12-29T15:44:18.176Z","dependency_job_id":null,"html_url":"https://github.com/lordksix/django-template","commit_stats":null,"previous_names":["lordksix/django-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lordksix%2Fdjango-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lordksix%2Fdjango-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lordksix%2Fdjango-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lordksix%2Fdjango-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lordksix","download_url":"https://codeload.github.com/lordksix/django-template/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248746393,"owners_count":21155242,"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","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":["celery","django","postgresql","rabbitmq","redis"],"created_at":"2025-04-13T16:39:20.839Z","updated_at":"2026-05-07T03:40:21.483Z","avatar_url":"https://github.com/lordksix.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django Template by lordksix\n\n## Instructions\n\n- This is a template to create a containerized Django application with PostgreSQL as a database, Celery and Rabbit MQ to handle and schedule tasks, Channels for WebSockets, Uvicorn for ASGI, Redis as a cache and final result for tasks, and Nginx as a reverse proxy.\n\n1. Need to have install python install on your machine, create a virtual environment and run the following command:\n\n    ```bash\n        pip install -r requirements.txt\n    ```\n\n    **Do not forget to get the you agree with the version on the requirements, if not you can change it or update afterwards and refreeze.**\n\n2. Run the following command and update accordingly:\n\n    ```bash\n        cp .env.example .env\n    ```\n\n    - Update COMPOSE_FILE accordingly:\n        For production\n\n        ```bash\n            ./.docker/docker-compose.yml:./.docker/docker-compose.prod.yml\n        ```\n\n        For development\n\n         ```bash\n                ./.docker/docker-compose.yml:./.docker/docker-compose.dev.yml\n        ```\n\n3. Update Dockerfile and docker-compose files accordingly\n\n4. Run the following command:\n\n    ```bash\n        cp .env.example .env\n    ```\n\n    and update accordingly\n\n5. To run locally, you need to have docker install. You must run the following command from the root directory:\n\n    ```bash\n        docker compose up -d --build\n    ```\n\n    and go to localhost:8000\n\n6. To run django commands, such as the ones listed below, you can do it inside the DJANGO container or first the following command:\n\n    ```bash\n        docker exec -it django-template-backend /bin/sh\n    ```\n\n    - To create a new super user:\n\n    ```bash\n        python manage.py createsuperuser\n    ```\n\n    - To run tests:\n\n    ```bash\n        python manage.py test\n    ```\n\n- To stop running the app run the following commands\n\n    ```bash\n        docker compose stop\n    ```\n\n- To delete containers run the following commands\n\n    ```bash\n        docker compose down\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flordksix%2Fdjango-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flordksix%2Fdjango-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flordksix%2Fdjango-template/lists"}