Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thehormat/the__magnificent__four
Celery | Redis | WebSocket in Django with Docker
https://github.com/thehormat/the__magnificent__four
celery css3 db django-rest-framework docker git html5 javascript nginx python3 redis restful-api websocket
Last synced: 25 days ago
JSON representation
Celery | Redis | WebSocket in Django with Docker
- Host: GitHub
- URL: https://github.com/thehormat/the__magnificent__four
- Owner: TheHormat
- Created: 2024-08-07T23:56:26.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-19T10:29:45.000Z (about 2 months ago)
- Last Synced: 2024-09-30T09:42:00.664Z (about 1 month ago)
- Topics: celery, css3, db, django-rest-framework, docker, git, html5, javascript, nginx, python3, redis, restful-api, websocket
- Language: Python
- Homepage: https://thehormat.medium.com/celery-redis-websocket-in-django-with-docker-40d534ba9071
- Size: 77.1 KB
- Stars: 23
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
The Magnificent Four in Django
Celery | Redis | WebSocket in Django with Docker
🫦 Medium Link
1. Here is a great blog post for this great repo
🧐 Features
Here're some of the project's best features:
* Dynamically perform surgery using celery and redis
* Use WebSocket to see changes on your site without refreshing your django server
* Get rid of many terminals using Docker. Type "docker compuse up --build" to start django celery and redis and finally web socket.
* Learn the processing logic and how it should be executed using celery redis and websocket with a very simple model object deletion task🛠️ Installation Steps:
1. Django
```
pip install django
```2. Redis (Install Pc)
```
brew install redis
```3. Celery
```
pip install celery
```4. WebSocket & Channels
```
pip install channels
```5. Options (take the contents of my requirements.txt file and ctrl + v into your own file):
```
poetry install
```🛜 To make it work:
1. Create virtualenv
```
python3 -m venv venv
```2. Let's active venv
```
source venv/bin/active
```3. Migrate Student model
```
python3 manage.py migrate
```4. Install packets
```
poetry install
```5. We join Docker Hub and run it
6. Finally, it's time to create our docker image. With this, our project will be fully operational.
```
docker compose up --build
```
💻 Built with
Technologies used in the project:
* Python
* Django Rest Framework
* HTML5
* CSS3
* JavaScript
* Celery
* Redis
* WebSocket
* Nginx
* Docker
* Git😬 Problems
All 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:
1. How to download Celery and Redis.
2. How to download WebSocket & Channels
3. How to download Docker & Hub
🛡️ License:
This project is licensed under the This project is licensed under the MIT License - see the \[LICENSE\](LICENSE) file for details.