zorky / django-celery

Example of how to handle background processes with Django, Celery, and Docker

Home Page:https://testdriven.io/blog/django-and-celery/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Asynchronous Tasks with Django and Celery

Example of how to handle background processes with Django, Celery, and Docker.

Want to learn how to build this?

Check out the post.

Want to use this project?

Spin up the containers:

$ docker-compose up -d --build

Open your browser to http://localhost:1337 to view the app or to http://localhost:5555 to view the Flower dashboard.

Trigger a new task:

$ curl -F type=0 http://localhost:1337/tasks/

Check the status:

$ curl http://localhost:1337/tasks/<TASK_ID>/

About

Example of how to handle background processes with Django, Celery, and Docker

https://testdriven.io/blog/django-and-celery/

License:MIT License


Languages

Language:Python 70.4%Language:HTML 16.3%Language:JavaScript 7.4%Language:Dockerfile 4.2%Language:Shell 1.1%Language:CSS 0.6%