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)"
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.