Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.08 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.08 KB

Django-Celery-Example

This is a simple example about integrating Celery in Django website, it uses celery to run a long task and shows a progress bar about the progress of the task.

image image image

Dependecies

  • Celery 3.1.19
  • Django 1.9
  • RabbitMQ 3.5.6

How to run:

  git clone https:/sunshineatnoon/Django-Celery-Example.git
  cd Django-Celery-Example
  /usr/local/sbin/rabbitmq-server
  celery -A celery_try worker -l info
  python manage.py makemigrations
  python manage.py migrate
  python manage.py runserver

Then visit http://127.0.0.1:8000/index/.

Technical Details:

See my blog post.

Known Issue:

Works well on firefox and chrome, but doesn't work on safari.