circusd

How to run django's “python manage.py runserver” , celery's “celery -A app_name worker -l info” and redis-server in one command

老子叫甜甜 提交于 2021-02-11 13:42:10
问题 I have recently started with django. And I started doing a small project. I've been using celery with redis worker. And every to use celery and redis I have to run the celery and redis server and then django server. Which is a bit lengthy process. I have two questions. 1. Am I doing the right thing by running the servers everytime or are there any other right method to this process? 2. If I'm in the right direction, is there any method to do this? I tried circus.ini , but it did not work. 回答1