代码review工具之一Review Board

Installing Review Board on MacOS X

This guide will help get you started with Review Board on MacOS X. It assumes you already have Apache installed, are familiar with the terminal, are using a modern version of MacOS X with Python 2.7, and have set up a database server (MySQL or PostgreSQL).

Please note that while Review Board works fine on MacOS X, we do recommend installing on Linux for production use.

Install Homebrew. This makes it easy to install some of our dependencies.

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew doctor
This will prompt you for your user password, and then ask you to install the Xcode Command Line Developer Tools, which you will need.

Install memcached, and configure it to run on startup.

brew install memcached
mkdir -p ~/Library/LaunchAgents
ln -sfv /usr/local/opt/memcached/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.memcached.plist
Optionally install support for the revision control systems you need:

brew install cvs
sudo easy_install mercurial P4PythonInstaller
If you want Subversion support, you will need to download the latest disk image for PySVN that's compatible with the version of Subversion on your server.

Install support for your database.

If you're using MySQL, please note that the bindings can be tricky to install on MacOS X. If you have problems with the command below, See this answer on StackOverflow for some tips.

sudo brew install python-mysqldb
If you're using PostgreSQL:

sudo easy_install psycopg2
Now you can install Review Board!

sudo easy_install ReviewBoard
Follow our guide to creating a Review Board site.
For a more detailed guide to all the dependencies, including additional optional dependencies not mentioned here, please see our complete installation instructions.

You can also try the third-party Review Board Installer, provided by Bitnami. If you use this installer, any support issus with Review Board should be raised with Bitnami rather than the Review Board project.

Installing RBTools on Developer Machines

RBTools is our suite of command line tools that makes it easy to work with Review Board and write scripts using our API. It's compatible with Linux, Windows, and MacOS X.

Developers will primarily work with rbt post. This is used to post new review requests from any in-development code, and will update existing review requests with any new code changes.

To get started, install RBTools and configure it for your repositories.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值