安装和使用

使用pip安装Flower:

$ pip install flower
或 pip install flower -U -i https://pypi.tuna.tsinghua.edu.cn/simple #如果没有pip,使用sudo apt-get install python-pip进行安装。

运行 flower命令启动web-server:

$ celery -A proj flower

缺省的端口是http://localhost:5555, 可以使用–port参数改变,如下所示:

$ celery -A proj flower --port=5555

可以通过–broker参数指定Broker的URL地址:

$ celery flower --broker=amqp://guest:guest@localhost:5672//
or$ celery flower --broker=redis://guest:guest@localhost:6379/0

然后,通过浏览器访问flower服务器:

$ open http://localhost:5555

相关文章:

  • 2022-12-23
  • 2021-06-29
  • 2022-12-23
  • 2021-07-22
  • 2021-09-13
  • 2022-12-23
  • 2022-01-06
猜你喜欢
  • 2021-11-27
  • 2022-01-03
  • 2021-08-04
  • 2021-12-10
  • 2022-02-27
  • 2022-12-23
  • 2021-11-24
相关资源
相似解决方案