Merge "Fix the PolyGerrit documentation"
This commit is contained in:
@@ -59,14 +59,7 @@ it patches the `config/server/info` response with plugin information provided on
|
|||||||
the command line:
|
the command line:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
<<<<<<< HEAD
|
|
||||||
./polygerrit-ui/run-server.sh --plugins=plugins/my_plugin/static/my_plugin.js,plugins/my_plugin/static/my_plugin.html
|
./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
|
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
|
```sh
|
||||||
$(bazel info output_base)/external/local_jdk/bin/java \
|
$(bazel info output_base)/external/local_jdk/bin/java \
|
||||||
|
-DsourceRoot=/path/to/my/checkout \
|
||||||
-jar bazel-bin/gerrit.war daemon \
|
-jar bazel-bin/gerrit.war daemon \
|
||||||
-d $GERRIT_SITE \
|
-d $GERRIT_SITE \
|
||||||
--console-log \
|
--console-log \
|
||||||
|
Reference in New Issue
Block a user