Do I need some special requirements for installing Django celery
I am very new to django and celery. I was reading their docs but I have problems with understanding them.
They have this code in their docs:
BROKER_BACKEND = "djkombu.transport.DatabaseTransport"
#celery
BROKER_HOST = "localhost"
BROKER_PORT = 5672
BROKER_USER = "guest"
BROKER_PASSWORD = "guest"
BROKER_VHOST = "/"
Now which host, username and password should I ent开发者_Go百科er there? Should it be the VPS host details, database details, or something else?
That would be the settings for the message broker that celery will use. You will therefore need to install and run a message broker first, e.g. RabbitMQ.
In fact, you might want to read the docs for celery first. Once you know how to get celery
running, the answer to your question will be obvious.
Good luck.
精彩评论