Jump to >

Installing on Windows

Before You Begin

Review Board is provided as downloadable packages through Python setuptools. The easy part is installing Review Board itself. The harder part is installing some of the dependencies, which we have less control over. This guide will help with some of these dependencies.

It’s assumed that you know which database and web server you want to use, and have already installed these on your server.

Review Board supports the following database servers:

And the following web servers:

Installing Python Support

You can install Python by running the latest Python 2.5 Installer for Windows.

You’ll then need to run the latest Python Setuptools Installer (look toward the bottom of the page for the file listing).

Once Python and Setuptools are installed, you’ll need to add a couple directories to your system path.

  1. Open Start ‣ Control Panel and navigate to the System icon.
  2. Click on the Advanced tab.
  3. Click Environment Variables.
  4. Find PATH in System variables and click Edit.
  5. Add ;C:\Python25;C:\Python25\Scripts (substitute your Python directory if it’s not C:\Python25) to the end of the list.

Installing patch

In order to view diffs, you’ll need to install GNU patch.exe.

You can download the installer for GNU patch.exe. Follow the instructions in the installer and make sure patch.exe in your PATH.

Warning

If you have a non-GNU version of patch.exe in your path (such as one from Visual Studio), you will run into problems. You will need to make sure the user your web server is running as sees the GNU patch.exe only.

Installing memcached

Memcached is a high-performant caching server used by Review Board. While optional, it’s strongly recommended in order to have a fast, responsive setup. Along with memcached, we need the python-memcached Python bindings.

  1. Download memcached for Windows.

  2. Unzip this to the directory you want to keep memcached in (for example, C:\memcached).

  3. If running Vista, you’ll need to set this to run as an administrator. Right-click on memcached.exe and click Properties. Click the Compatibility tab and then check Run this program as an administrator.

  4. Install the service from the command line by typing the following from the memcached directory:

    memcached.exe -d install
  5. Start the server through the Microsoft Management Console.

  6. Install python-memcached by typing the following:

    easy_install python-memcached

After Installation

Once you’ve finished getting Review Board itself installed, you’ll want to create your site. See creating-sites for details.