/rest-api-long-job-celery

Sample project to demonstrate how to trigger a long running job without blocking the request.

Primary LanguagePythonApache License 2.0Apache-2.0

rest-api-long-job-celery

Sample project to demonstrate how to trigger a long running job without blocking the request.

Run

Broker (RabbitMQ)

$ docker run -d -p 5462:5462 rabbitmq

Celery

celery -A rest_api_long_job_celery worker -l info

Django App

./manage.py runserver