Install and initialize Gerrit

--batch assigns default values to several Gerrit configuration
options. To learn more about these options, see
Configuration.

--dev configures the Gerrit server to use the authentication
option, DEVELOPMENT_BECOME_ANY_ACCOUNT, which enables you to
switch between different users to explore how Gerrit works. To learn more
about setting up Gerrit for development, see
Gerrit Code Review: Developer Setup.

While this command executes, status messages are displayed in the terminal
window. For example:

Restart the Gerrit service

You must restart the Gerrit service for your authentication type and listen URL
changes to take effect:

~/gerrit_testsite/bin/gerrit.sh restart

Viewing Gerrit

To view your new basic installation of Gerrit, go to:

http://localhost:8080

Next steps

Now that you have a simple version of Gerrit running, use the installation to
explore the user interface and learn about Gerrit. For more detailed
installation instructions, see
Standalone Daemon Installation Guide(install.html).