安装 rabbitmq 消息中间件
brew update
(update 比较慢的话放大招 - 重新安装 brew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
)
brew install rabbitmq
将/usr/local/sbin 添加到 $PATH,将下面这两行加到~/.bash_profile:
# RabbitMQ Config
export PATH=$PATH:/usr/local/sbin
source ~/.bash_profile
启动 rabbitmq-server
python3 manage.py celery -A HttpRunnerManager worker --loglevel=info
python3 manage.py celery beat --loglevel=info
celery flower
http://localhost:5555/dashboard done!!!