{"parents": [], "prev": {"link": "../", "title": "Review Board Gateway Documentation"}, "next": {"link": "../configuration/", "title": "Configuring Review Board Gateway"}, "title": "Installing Review Board Gateway", "meta": {}, "body": "
\n

# Installing Review Board Gateway\u00b6

\n
\n

## Requirements\u00b6

\n

To serve repositories with `rb-gateway`, you\u2019ll need:

\n

\n

- Git (for serving Git repositories)

\n

- Mercurial (for serving Mercurial repositories)

\n

\n
\n
\n

## Installing the Binary\u00b6

\n

`rb-gateway` is currently distributed as a standalone binary. Installation\nconsists of a few simple steps:

\n

\n

1. Download the latest version of `rb-gateway`, place the binary somewhere\non your server (for example, on Linux,\n`/usr/local/bin/rb-gateway`), and make it executable.

\n

2. Create a directory for `rb-gateway` to store authentication token and\nwebhook data. On Linux, a good place for this would be\n`/var/lib/rb-gateway`.

\n

3. Create the configuration file.

\n

4. Set up `rb-gateway` to run as a service.

\n

\n

For example, to get started quickly on Linux:

\n

    $ sudo curl https://www.reviewboard.org/downloads/rbgateway/latest/linux_amd64/ \\\n       -O /usr/local/bin/rb-gateway\n$ sudo chmod +x /usr/local/bin/rb-gateway\n$ sudo mkdir /var/lib/rb-gateway\n$ sudo mkdir /etc/rb-gateway\n$ sudo vim /etc/rb-gateway/config.json\n

\n
\n
\n
\n", "metatags": "\n", "rellinks": [["genindex", "General Index", "I", "index"], ["configuration/index", "Configuring Review Board Gateway", "N", "next"], ["index", "Review Board Gateway Documentation", "P", "previous"]], "sourcename": "installation/index.rst.txt", "toc": "

\n
- Installing Review Board Gateway
  \n
  - Requirements
  \n
  - Installing the Binary
  \n
  \n
\n

\n", "display_toc": true, "page_source_suffix": ".rst", "current_page_name": "installation/index", "sidebars": ["relations.html", "searchbox.html"], "alabaster_version": "0.7.16", "alabaster_version_info": [0, 7, 16]}