From 896c533de882d729a6fd8a30e08fd5a9e9eec27d Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Sat, 18 Jun 2011 09:22:05 -0400 Subject: [PATCH] Map gitservlet from web.xml and configure it from gitblit properties. --- docs/00_setup.mkd | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/00_setup.mkd b/docs/00_setup.mkd index 2eddd44..02816e7 100644 --- a/docs/00_setup.mkd +++ b/docs/00_setup.mkd @@ -1,6 +1,6 @@ -## Server Setup and Configuration +## Gitblit-Go Setup and Configuration -1. Download and unzip [Gitblit %VERSION%](http://gitblit.com/%DISTRIBUTION%).<br/> +1. Download and unzip [Gitblit-Go %VERSION%](http://gitblit.com/%GO%).<br/> *Its best to eliminate spaces in the path name as that can cause troubleshooting headaches.* 2. The server itself is configured through a simple text file.<br/> Open `gitblit.properties` in your favorite text editor and make sure to review and set: @@ -9,7 +9,7 @@ - *server.httpBindInterface* and *server.httpsBindInterface*<br/> **NOTE:** Consider using **https** exclusively because passwords for authentication are transmitted as clear text! - *server.storePassword*<br/> -**NOTE:** The certificate password AND the keystore password must match! +**NOTE:** If you manually generate an ssl certificate, the certificate password AND the keystore password must match! 3. Execute `gitblit.cmd` or `java -jar gitblit.jar` from a command-line 4. Wait a minute or two while all dependencies are downloaded and your self-signed certificate is generated. 5. Open your browser to <http://localhost> or <https://localhost> depending on your chosen configuration. @@ -32,8 +32,12 @@ showReadme = false #### Repository Names -Repository names must be unique and are case-insensitive. The name must be composed of letters, digits, or `/ _ - .`<br/> +Repository names must be unique and are CASE-SENSITIVE ON CASE-SENSITIVE FILESYSTEMS. The name must be composed of letters, digits, or `/ _ - .`<br/> Whitespace is illegal. + +Repositories can be grouped within subfolders. e.g. *libraries/mycoollib.git* and *libraries/myotherlib.git* + +All created repositories are *bare* and will automatically have *.git* appended to the name at creation time, if not already specified. #### Repository Owner The *Repository Owner* has the special permission of being able to edit a repository through the web UI. The Repository Owner is not permitted to rename the repository, delete the repository, or reassign ownership to another user. @@ -57,7 +61,7 @@ ### Creating your own Self-Signed Certificate Review the contents of the `makekeystore.cmd` or `makekeystore_jdk.cmd` script and execute it.<br/> -**NOTE:** The certificate password AND the keystore password must match! +**NOTE:** If you manually generate an ssl certificate, the certificate password AND the keystore password must match! ### Running as a Service Review the contents of the `installService.cmd` or `installService64.cmd`, as appropriate for your installed Java Virtual Machine.<br/> @@ -87,7 +91,7 @@ 3. <pre>Key = *http.sslVerify* Value = *false*</pre> - Command-line Git ([Git-Config Manual Page](http://www.kernel.org/pub/software/scm/git/docs/git-config.html)) - <pre>git-config --global --bool --add http.sslVerify false</pre> + <pre>git config --global --bool --add http.sslVerify false</pre> ### Cloning an Access Restricted Repository - Eclipse/Egit<br/>Nothing special to configure, EGit figures out everything. -- Gitblit v1.9.1