Skip to content

krbtsv/juve-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Juve app

Repository for practice with Celery+Redis+Docker+Django


Structure

Celery - Distributed Task Queue. It's a task queue with focus on real-time processing, while also supporting task scheduling.
Schema:

Thumbnail

Start development server(Linux):

After clone repository open the project folder in IDE and run command:

python3 -m venv venv
source venv/bin/activate
cd webapp
pip install -r requirements.txt
cd src
python manage.py migrate
docker-compose up --build

Endpoints

Track task

Click on button Start a task sever times to create task from browser window and tracks it. JS is using there.

poll/pull Thumbnail
Window polls backend(Celery) about complete the task and as soon as it receives a response, SUCCESS changes the status and color of the task. After 5 seconds task will delete.