Radar 第三方 CI 仪表板安装指南

  1. 安装必需的依赖包:

  2. apt-get install libpq-dev

  3. apt-get install libmysqlclient-dev

  4. apt-get install mysql-server

  5. apt-get install rabbitmq-server

  6. 更新并安装 Python 依赖:

  7. pip install --upgrade -r requirements.txt

  8. python setup.py build

  9. python setup.py install

  10. 安装 Node.js 和工具:

  11. curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -

  12. apt-get install -y nodejs

  13. npm install -g grunt-cli

  14. npm install -g bower

  15. 安装 Pavilion

  16. sudo apt-get install pavilion

  17. 配置 MySQL 数据库:

  18. 创建用户:CREATE USER 'radar'@'localhost' IDENTIFIED BY 'radar';

  19. 授权所有权限:GRANT ALL PRIVILEGES ON *.* TO 'radar'@'localhost' WITH GRANT OPTION;

  20. 完成安装后,启动 Radar 仪表板并验证配置是否成功。