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:
- MySQL v5.0.31 or newer
- PostgreSQL
- sqlite v3
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.
- Open Start ‣ Control Panel and navigate to the System icon.
- Click on the Advanced tab.
- Click Environment Variables.
- Find PATH in System variables and click Edit.
- 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.
Download memcached for Windows.
Unzip this to the directory you want to keep memcached in (for example, C:\memcached).
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.
Install the service from the command line by typing the following from the memcached directory:
memcached.exe -d install
Start the server through the Microsoft Management Console.
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.