{"id":15064732,"url":"https://github.com/thehormat/the__magnificent__four","last_synced_at":"2025-04-10T12:41:23.759Z","repository":{"id":252224184,"uuid":"839593799","full_name":"TheHormat/The__Magnificent__Four","owner":"TheHormat","description":"Celery | Redis | WebSocket in Django with Docker","archived":false,"fork":false,"pushed_at":"2024-09-19T10:29:45.000Z","size":79,"stargazers_count":21,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T01:52:15.498Z","etag":null,"topics":["celery","css3","db","django-rest-framework","docker","git","html5","javascript","nginx","python3","redis","restful-api","websocket"],"latest_commit_sha":null,"homepage":"https://thehormat.medium.com/celery-redis-websocket-in-django-with-docker-40d534ba9071","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/TheHormat.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}},"created_at":"2024-08-07T23:56:26.000Z","updated_at":"2024-12-31T03:03:32.000Z","dependencies_parsed_at":"2024-10-13T00:21:33.998Z","dependency_job_id":null,"html_url":"https://github.com/TheHormat/The__Magnificent__Four","commit_stats":null,"previous_names":["thehormat/the__magnificent__four"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheHormat%2FThe__Magnificent__Four","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheHormat%2FThe__Magnificent__Four/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheHormat%2FThe__Magnificent__Four/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheHormat%2FThe__Magnificent__Four/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheHormat","download_url":"https://codeload.github.com/TheHormat/The__Magnificent__Four/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248217155,"owners_count":21066634,"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","css3","db","django-rest-framework","docker","git","html5","javascript","nginx","python3","redis","restful-api","websocket"],"created_at":"2024-09-25T00:25:50.616Z","updated_at":"2025-04-10T12:41:23.742Z","avatar_url":"https://github.com/TheHormat.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\" id=\"title\"\u003eThe Magnificent Four in Django\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://cdn-images-1.medium.com/max/1600/1*y85gp8YpXOznN7P7vBhZQQ.jpeg\" alt=\"project-image\"\u003e\u003c/p\u003e\n\n\u003cp id=\"description\" align=\"center\"\u003eCelery | Redis | WebSocket in Django with Docker\u003c/p\u003e\n\n\u003ch2\u003e🫦 Medium Link\u003c/h2\u003e\n\u003cp\u003e1. \u003ca href=\"https://hormat.medium.com/celery-redis-websocket-in-django-with-docker-40d534ba9071\"\u003eHere is a great blog post for this great repo\u003c/a\u003e\u003c/p\u003e\n\n\u003c/br\u003e\n\u003ch2\u003e🧐 Features\u003c/h2\u003e\n\nHere're some of the project's best features:\n\n*   Dynamically perform surgery using celery and redis\n*   Use WebSocket to see changes on your site without refreshing your django server\n*   Get rid of many terminals using Docker. Type \"docker compuse up --build\" to start django celery and redis and finally web socket.\n*   Learn the processing logic and how it should be executed using celery redis and websocket with a very simple model object deletion task\n\n\u003c/br\u003e\n\u003ch2\u003e🛠️ Installation Steps:\u003c/h2\u003e\n\u003c/br\u003e\n\n\u003cp\u003e1. Django\u003c/p\u003e\n\n```\npip install django\n```\n\u003c/br\u003e\n\n\u003cp\u003e2. Redis (Install Pc)\u003c/p\u003e\n\n```\nbrew install redis\n```\n\u003c/br\u003e\n\n\u003cp\u003e3. Celery\u003c/p\u003e\n\n```\npip install celery\n```\n\u003c/br\u003e\n\n\u003cp\u003e4. WebSocket \u0026 Channels\u003c/p\u003e\n\n```\npip install channels\n```\n\u003cp\u003e5. Options (take the contents of my requirements.txt file and ctrl + v into your own file):\u003c/p\u003e\n\n```\npoetry install\n```\n\u003c/br\u003e\n\n\n\u003c/br\u003e\n\u003ch2\u003e🛜 To make it work: \u003c/h2\u003e\n\u003c/br\u003e\n\u003cp\u003e1. Create virtualenv\u003c/p\u003e\n\n```\npython3 -m venv venv\n```\n\u003c/br\u003e\n\n\u003cp\u003e2. Let's active venv\u003c/p\u003e\n\n```\nsource venv/bin/active\n```\n\u003c/br\u003e\n\n\u003cp\u003e3. Migrate Student model\u003c/p\u003e\n\n```\npython3 manage.py migrate\n```\n\u003c/br\u003e\n\n\u003cp\u003e4. Install packets\u003c/p\u003e\n\n```\npoetry install\n```\n\u003c/br\u003e\n\n\u003cp\u003e5. We join Docker Hub and run it\u003c/p\u003e\n\n\u003cp\u003e6. Finally, it's time to create our docker image. With this, our project will be fully operational.\u003c/p\u003e\n\n```\ndocker compose up --build\n```\n\u003c/br\u003e\n  \n\u003ch2\u003e💻 Built with\u003c/h2\u003e\n\nTechnologies used in the project:\n\n*   Python\n*   Django Rest Framework\n*   HTML5\n*   CSS3\n*   JavaScript\n*   Celery\n*   Redis\n*   WebSocket\n*   Nginx\n*   Docker\n*   Git\n\u003c/br\u003e\n\n\u003ch2\u003e😬 Problems\u003c/h2\u003e\n\nAll the tools used are in their latest versions and suitable for one another. But if you have problems during installation I can recommend the following links:\n\u003cp\u003e1. \u003ca href=\"https://docs.celeryq.dev/en/stable/getting-started/backends-and-brokers/redis.html\"\u003eHow to download Celery and Redis.\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e2. \u003ca href=\"https://medium.com/@adabur/introduction-to-django-channels-and-websockets-cb38cd015e29\"\u003eHow to download WebSocket \u0026 Channels\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003e3. \u003ca href=\"https://www.docker.com/products/docker-desktop/\"\u003eHow to download Docker \u0026 Hub\u003c/a\u003e\u003c/p\u003e\n\n\u003c/br\u003e\n\u003ch2\u003e🛡️ License:\u003c/h2\u003e\n\nThis project is licensed under the This project is licensed under the MIT License - see the \\[LICENSE\\](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthehormat%2Fthe__magnificent__four","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthehormat%2Fthe__magnificent__four","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthehormat%2Fthe__magnificent__four/lists"}