diff options
-rw-r--r-- | Documentation/dev-eclipse.txt | 28 | ||||
-rw-r--r-- | Documentation/dev-readme.txt | 11 |
2 files changed, 39 insertions, 0 deletions
diff --git a/Documentation/dev-eclipse.txt b/Documentation/dev-eclipse.txt index 7a63ba9a62..40205ec7f1 100644 --- a/Documentation/dev-eclipse.txt +++ b/Documentation/dev-eclipse.txt @@ -87,3 +87,31 @@ Open Run->Debug Configurations... Under Java Application find `gerrit_debug` (not Mac OS X) or `gerrit_macos` (Mac OS X only) to start the GWT hosted mode browser and debug through Eclipse. + +SSH Daemon +~~~~~~~~~~ + +To get the SSH daemon started when running in hosted mode, you need +to manually hit the `ssh_info` URL to force the servlet initialize +and bind the daemon on port 29418 (or whatever you have it configured +to in `system_config`). + +---- + curl http://localhost:8888/com.google.gerrit.Gerrit/ssh_info +---- + + +Final Setup +----------- + +Since you are creating a Gerrit instance for testing, you need to +also follow the other steps outlined under "Initialize the Schema" +in the Installation Guide. Note that the database has already been +created if you launched Gerrit at least once. + +Note that Bouncy Castle Crypto is automatically installed in the +classpath when debugging with hosted mode, so you will need to +create SSH keys with `ssh-keygen`. + +* link:install.html[Installation Guide] +* link:project-setup.html[Project Setup] diff --git a/Documentation/dev-readme.txt b/Documentation/dev-readme.txt index 49fcf85777..73cc2f6707 100644 --- a/Documentation/dev-readme.txt +++ b/Documentation/dev-readme.txt @@ -111,6 +111,17 @@ the JavaScript happens to be. ==== +Final Setup +----------- + +Since you are creating a Gerrit instance for testing, you need to +also follow the other steps outlined under "Initialize the Schema" +in the Installation Guide: + +* link:install.html[Installation Guide] +* link:project-setup.html[Project Setup] + + Client-Server RPC ----------------- |