diff options
author | Shawn O. Pearce <sop@google.com> | 2009-01-07 08:34:07 -0800 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2009-01-07 08:34:07 -0800 |
commit | 7dd1a443895a911c12c4de5b5bae099d78e544f0 (patch) | |
tree | b3ed7a70d27a60b66abd4743567f20c2d2b2e6e9 /INSTALL | |
parent | 74f489a5fbbc66be71e350689933be098ab4ecc4 (diff) |
Document that CreateSchema can be used on the command line during install
Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -38,7 +38,19 @@ Gerrit 2 - Installation createdb -E UTF-8 -O gerrit2 reviewdb -- Start the application once to create the tables. +- Create the Gerrit 2 tables: + + Either run CreateSchema from the command line (requires writing + a GerritServer.properties, see GerritServer.properties_example + under devdb/src/main/config): + + appdist/target/gerrit-*-bin.dir/gerrit-*/bin/gerrit2.sh \ + --config=GerritServer.properties \ + CreateSchema + + Or run the application once in a container to force it to + initialize the database schema before accessing it. + - Apply table indexes by executing |