summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2009-01-07 08:34:07 -0800
committerShawn O. Pearce <sop@google.com>2009-01-07 08:34:07 -0800
commit7dd1a443895a911c12c4de5b5bae099d78e544f0 (patch)
treeb3ed7a70d27a60b66abd4743567f20c2d2b2e6e9 /INSTALL
parent74f489a5fbbc66be71e350689933be098ab4ecc4 (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--INSTALL14
1 files changed, 13 insertions, 1 deletions
diff --git a/INSTALL b/INSTALL
index f729a2cfce..d17cb50bb1 100644
--- a/INSTALL
+++ b/INSTALL
@@ -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