Merge "Fix the PolyGerrit documentation"

This commit is contained in:
Ben Rohlfs
2019-06-03 11:33:06 +00:00
committed by Gerrit Code Review

View File

@@ -59,14 +59,7 @@ it patches the `config/server/info` response with plugin information provided on
the command line:
```sh
<<<<<<< HEAD
./polygerrit-ui/run-server.sh --plugins=plugins/my_plugin/static/my_plugin.js,plugins/my_plugin/static/my_plugin.html
=======
bazel build gerrit &&
$(bazel info output_base)/external/local_jdk/bin/java -DsourceRoot=/path/to/my/checkout \
-jar bazel-bin/gerrit.war daemon --polygerrit-dev \
-d ../gerrit_testsite --console-log --show-stack-trace
>>>>>>> stable-3.0
```
The biggest draw back of this method is that you cannot log in, so cannot test
@@ -96,6 +89,7 @@ directly from the sources in `polygerrit_ui/app/` instead of from the war:
```sh
$(bazel info output_base)/external/local_jdk/bin/java \
-DsourceRoot=/path/to/my/checkout \
-jar bazel-bin/gerrit.war daemon \
-d $GERRIT_SITE \
--console-log \