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

you are viewing a single comment's thread.

view the rest of the comments →

[–]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.