1783281995 by Unknown

1783281995 by Unknown

Author:Unknown
Language: rus
Format: epub, mobi
Published: 2014-02-17T06:03:59+00:00


Installing and Upgrading Review Board

Plan Type

Cost($)/Month

User's Limit

Max Repositories

Medium

99

25

20

Large

229

50

60

Enterprise

499

100

120

After a plan is chosen, a window will appear to create a team, where we have to provide personal, team, and billing details as shown in the following screenshot.

With this, your Review Board server will be hosted on the RBCommons site and can be used for performing code review requests.

[ 46 ]

Chapter 5

The other option to set up Review Board installation is to create a Review Board site on your machine. Review Board has officially stopped providing support for the Windows environment after Version 1.6 (http://www.reviewboard.org/docs/

manual/dev/admin/installation/windows/). Linux environments have become the best and the only viable options to set up Review Board. You can choose any Linux flavor: Fedora, openSUSE, Ubuntu, Debian, CentOS, and so on. The Ubuntu and Fedora Linux environments are the most preferred and recommended ones for setting up Review Board; even Review Board recommends these environments.

Before starting with Review Board installation, make sure that the system has the following prerequisites installed:

• Database: MySQL, PostgreSQL, or SQLite can be used as a database option. SQLite should only be used while doing a POC or getting used to Review Board. On a production system, you should use either MySQL or PostgreSQL. MySQL is the preferred option for the setup.

• Web server: A web server is required to host the Review Board site. Apache and lighttpd are the two available options of web servers. In addition, make sure that the web server is capable of hosting Python applications. The Apache web server provides three modules for hosting Python applications: mod_wsgi, mod_ astcgi, and mod_python. The preferred module is mod_

wsgi. In the case of lighttpd, the fastcgi module will be used to enable Python application hosting on lighttpd.

• Version Control System client: Depending on the version control systems to be used with Review Board, the corresponding version control system clients need to be installed.

Once you make sure that the system has all the prerequisites, you can start with installing Review Board on the system. The Review Board setup is very simple and straightforward. We will use the following tools for our Review Board setup:

• Database: MySQL

• Web server: Apache with mod_wsgi

• Version Control System: Subversion (SVN)

• Environment: Ubuntu system

You can choose the database, VCS, and web server to install.

[ 47 ]

Installing and Upgrading Review Board

Review Board installation

Setting up Review Board is a two-step process:

• Installing Review Board

• Publishing the Review Board site on the web server

Make sure that you switch to the root user before starting with the set up (else you would have to prefix sudo before every command). Then, run the following commands one by one:

1 apt-get install python-setuptools

2 easy_install --version

3 apt-get install patch

4 easy_install ReviewBoard

5 easy_install mysql-python

6 apt-get install subversion python-svn

The next sections will describe the commands given in the preceding image.

Steps 1 and 2 – installing the Python setuptools

You will need the Python setuptools to install Review Board; usually, Ubuntu already has this installed. If not, you can install it by executing the following command: $ apt-get install python-setuptools

The preceding command will change from one operating system to another.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.