Home

Awesome

Django Celery-Progress Demo

This is demo application built on Django for celery-progress.

Check out my step-by-step guide on how-to setup your own progress bar!

To get started using this demo:

  1. Clone this repo
  2. Create and/or activate your Python environment:
$ python3 -m venv python3-env
$ source python3-env/bin/activate
  1. Install the required packages:
(python3-env) $ pip install -r requirements.txt
  1. Apply Django migrations and start server:
(python3-env) $ ./manage.py migrate
(python3-env) $ ./manage.py runserver
  1. In a different terminal window, start your message broker server then start Celery:
(python3-env) $ ./start_celery

:warning: Celery will try to connect to a local redis server as defined in celery_progress_demo/celery.py file. If it is not able to connect, it will show an error. To install and run redis, check out their installation guide, or read this if you are running this demo on a shared hosting server.

  1. Go to http://localhost:8000/ and have fun!

Screenshots

Start task

init

Task in-progress

progress

Task completed

success

Task failed

success