Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

The Magnificent Four in Django

project-image

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.