| | |
| | | ## 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:
|
| | |
| | | - *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.
|
| | |
| | | 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 by folders. e.g. *libraries/mycoollib.git* and *libraries/myotherlib.git*
|
| | | Repositories can be grouped within subfolders. e.g. *libraries/mycoollib.git* and *libraries/myotherlib.git*
|
| | |
|
| | | Repository names will automatically have *.git* appended to the name at creation time, if not already specified. |
| | | 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.
|
| | |
| | | ### 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/>
|
| | |
| | | 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.
|