zoukankan      html  css  js  c++  java
  • ReviewBoard安装配置

    1.安装ReviewBoard

    下载集成安装版:https://bitnami.com/stack/reviewboard/installer

    [root@bogon ~]# cd /tmp
    [root@bogon tmp]# chmod +x bitnami-reviewboard-2.5.10-1-linux-x64-installer.run
    [root@bogon tmp]# ./bitnami-reviewboard-2.5.10-1-linux-x64-installer.run
    Warning: In order to use Review Board with CVS, you will need the cvs package 
    installed.
    Press [Enter] to continue:
    ----------------------------------------------------------------------------
    Welcome to the Bitnami Review Board Stack Setup Wizard.


    ----------------------------------------------------------------------------
    Select the components you want to install; clear the components you do not want 
    to install. Click Next when you are ready to continue.


    Django : Y (Cannot be edited)


    Review Board : Y (Cannot be edited)


    Is the selection above correct? [Y/n]: y


    ----------------------------------------------------------------------------
    Installation folder


    Please, choose a folder to install Bitnami Review Board Stack


    Select a folder [/opt/reviewboard-2.5.10-1]: /usr/reviewboard-2.5.10-1


    ----------------------------------------------------------------------------
    Create Admin account


    Bitnami Review Board Stack admin user creation


    Email Address [user@example.com]: 


    Login [user]: 


    Password :
    Please confirm your password :
    Do you want to configure mail support? [y/N]: n


    ----------------------------------------------------------------------------
    Setup is now ready to begin installing Bitnami Review Board Stack on your 
    computer.


    Do you want to continue? [Y/n]: y


    ----------------------------------------------------------------------------
    Please wait while Setup installs Bitnami Review Board Stack on your computer.


     Installing
     0% ______________ 50% ______________ 100%
     #########################################


    ----------------------------------------------------------------------------
    Setup has finished installing Bitnami Review Board Stack on your computer.


    Launch Bitnami Review Board Stack [Y/n]: y

    修改端口
    修改/usr/reviewboard-2.5.10-1/apache2/conf/httpd.conf中的Listen端口
    修改/usr/reviewboard-2.5.10-1/apache2/conf/bitnami/bitnami.conf中的NameVirtualHost和VirtualHost _default_端口

    开启防火墙端口
    [root@bogon tmp]# firewall-cmd --zone=public --add-port=8085/tcp --permanent
    [root@bogon tmp]# systemctl restart firewalld.service

    启动apache服务
    [root@bogon tmp]# /usr/reviewboard-2.5.10-1/apache2/bin/apachectl restart
    启动mysql
    [root@localhost bin]# ./mysqld_safe --user=root

    Reviewboard官方文档:https://www.reviewboard.org/docs/manual/2.5/

    2.安装RBTools

    安装如下3个软件:
    RBTools :ReviewBoard 命令行工具,用以客户端代码的RB管理
    Diffutils:代码差异工具,用以生成diff文件

    Subversion:SVN命令行客户端,用以提交diff文件到RB Server

    设置环境变量:
    C:ProgramFiles (x86)RBToolsin;C:Program Files (x86)GnuWin32in;C:Program Files(x86)Subversionin

    进入cmd命令行,切换到本地svn checkout目录,如D:SVNTiMDM,运行rbt setup-repo,生成.reviewboardrc:
    REVIEWBOARD_URL = "http://192.168.1.2:8085/reviewboard/"
    REPOSITORY = "test"
    REPOSITORY_TYPE = "svn"
    USERNAME = "user"
    PASSWORD = "1"
    PUBLISH = "yes"

    首次提交,3502为svn版本号:
    rbt post 3502
    再次提交,-r为review_id:
    rbt post -r 5

    Rbtools官方文档:https://www.reviewboard.org/docs/rbtools/0.7/

    转载于:https://blog.csdn.net/yoyo328/article/details/77822561

  • 相关阅读:
    如何使用SAP Intelligent Robotic Process Automation自动操作Excel
    OpenSAML 使用引导 IV: 安全特性
    Spring Cloud Zuul 网关使用与 OAuth2.0 认证授权服务
    微服务架构集大成者—Spring Cloud (转载)
    Spring Cloud Eureka 服务注册列表显示 IP 配置问题
    使用 Notification API 开启浏览器桌面提醒
    SignalR 中使用 MessagePack 序列化提高 WebSocket 通信性能
    配置 Nginx 的目录浏览功能
    关于 Nginx 配置 WebSocket 400 问题
    Migrate from ASP.NET Core 2.0 to 2.1
  • 原文地址:https://www.cnblogs.com/it-deepinmind/p/14384719.html
Copyright © 2011-2022 走看看