blob: 9644e92ce026687fe4b1470a6dbf8dd4087d4d54 [file] [log] [blame]
init - Initialize a new Gerrit server installation
'java' -jar gerrit.war 'init'
Creates a new Gerrit server installation, interactively prompting
for some basic setup prior to writing default configuration files
into a newly created `$site_path`.
If run an an existing `$site_path`, init will upgrade some resources
as necessary. This can be useful to import newly created projects.
Run in batch mode, skipping interactive prompts. Reasonable
configuration defaults are chosen based on the whims of
the Gerrit developers.
Recursively search
for any Git repositories not yet registered as a project,
and initializes a new project for them.
Don't automatically start the daemon after initializing a
newly created site path. This permits the administartor
to inspect and modify the configuration before the daemon
is started.
Location of the gerrit.config file, and all other per-site
configuration data, supporting libaries and log files.
This command can only be run on a server which has direct
connectivity to the metadata database, and local access to the
managed Git repositories.
Part of link:index.html[Gerrit Code Review]