Would it be possible to provide a github demo?
See original GitHub issueHi, I’m trying to install a progress bar functionnality, and I’m new to Celery
and asynchronous tasks.
Initially, the use of celery-progress
seemed quite straightforwards
… until I realized I needed to install and configure Celery
There things started to get a lot more complicated as I tried to follow the link you provided in the close issue https://github.com/czue/celery-progress/issues/29
You seemed to have done quite a good job with celery-progress
to get things smoother, so it’s a bit of a downer that the start-up of it kind of kills the initial enthusiasm.
Would it be possible to provide a simple github demo so that people can easily figure out what needs to be implemented ‘in real life’ to get celery-progress
working?
Or if some info is already availlable somewhere, could you provide a link ?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:25 (16 by maintainers)
Top GitHub Comments
I’m going to close this. @formacube if you have any other issues feel free to post back. Thanks for the help @eeintech !
@czue @formacube I quickly put together a demo of a fake download page (the task is actually running a 5 seconds timer, based on the celery_progress documentation): https://github.com/eeintech/django-celery-progress-demo
It’s functional but I haven’t documented it yet, @formacube feel free to look around and ask if you have any question. You’ll need redis-5.0.8 (have not tested 6.x) server to be installed and running. Make sure to install all required packages:
pip install -r requirements.txt
(it will install celery and celery-progress packages, along with Django 3) You can start celery worker with the included script:./start_celery
Then run the Django project:.manage.py runserver
(don’t forget to migrate first)Once I get more time, I’ll try to improve it with something actually functional where it really downloads the file/url requested.
(and sorry for the lack of comments and terrible coding form 😛)