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:
- Clone this repo
- Create and/or activate your Python environment:
$ python3 -m venv python3-env
$ source python3-env/bin/activate
- Install the required packages:
(python3-env) $ pip install -r requirements.txt
- Apply Django migrations and start server:
(python3-env) $ ./manage.py migrate
(python3-env) $ ./manage.py runserver
- In a different terminal window, start your message broker server then start Celery:
(python3-env) $ ./start_celery
⚠️ 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.
- Go to https://localhost:8000/ and have fun!