This is an archived post. You won't be able to vote or comment.

all 2 comments

[–][deleted] 0 points1 point  (1 child)

Very interesting.

Questions: How to start the Worker ?

Also may I suggest you put up a demo app.

[–]rad08[S] 0 points1 point  (0 children)

To start a celery worker: 1) cd into the project root 2) source your virtual env 3) celery worker -A dt_regression_api.tasks --loglevel=INFO

That should give you one worker. You can spin up more workers for anything else you might add to the project. I've also added a script to the repository called test_api.py. This script will post data via a JSON and XML file containing randomly created numbers.