commit | author | age
|
f13c4c
|
1 |
Gitblit
|
JM |
2 |
=================
|
|
3 |
|
6c4be1
|
4 |
Gitblit is an open source, pure Java Git solution for managing, viewing, and serving [Git](http://git-scm.com) repositories.
|
1f9dae
|
5 |
More information about Gitblit can be found [here](http://gitblit.com).
|
f13c4c
|
6 |
|
69eeaa
|
7 |
[  ](https://bintray.com/gitblit/releases/stable/_latestVersion)
|
JM |
8 |
|
f13c4c
|
9 |
License
|
JM |
10 |
-------
|
|
11 |
|
6c4be1
|
12 |
Gitblit is distributed under the terms of the [Apache Software Foundation license, version 2.0](http://www.apache.org/licenses/LICENSE-2.0).
|
233eb0
|
13 |
The text of the license is included in the file LICENSE in the root of the project.
|
f13c4c
|
14 |
|
85c2e6
|
15 |
Java Runtime Requirement
|
f13c4c
|
16 |
------------------------------------
|
JM |
17 |
|
cff7cc
|
18 |
Gitblit requires at Java 7 Runtime Environment (JRE) or a Java 7 Development Kit (JDK).
|
f13c4c
|
19 |
|
JM |
20 |
Getting help
|
|
21 |
------------
|
|
22 |
|
6c4be1
|
23 |
Read the online documentation available at the [Gitblit website](http://gitblit.com)
|
233eb0
|
24 |
Issues, binaries, & sources @ [Google Code](http://code.google.com/p/gitblit)
|
f13c4c
|
25 |
|
JM |
26 |
Building Gitblit
|
|
27 |
----------------
|
|
28 |
[Eclipse](http://eclipse.org) is recommended for development as the project settings are preconfigured.
|
|
29 |
|
6c4be1
|
30 |
1. Import the gitblit project into your Eclipse workspace.
|
f13c4c
|
31 |
*There will be lots of build errors.*
|
6c4be1
|
32 |
2. Using Ant, execute the `build.xml` script in the project root.
|
f13c4c
|
33 |
*This will download all necessary build dependencies and will also generate the Keys class for accessing settings.*
|
JM |
34 |
3. Select your gitblit project root and **Refresh** the project, this should correct all build problems.
|
6c4be1
|
35 |
4. Using JUnit, execute the `com.gitblit.tests.GitBlitSuite` test suite.
|
1f9dae
|
36 |
*This will clone some repositories from the web and run through the unit tests.*
|
ea2c2a
|
37 |
5. Execute the *com.gitblit.GitBlitServer* class to start Gitblit GO.
|
JM |
38 |
|
|
39 |
Building Tips & Tricks
|
|
40 |
----------------------
|
6c4be1
|
41 |
1. If you are running Ant from an ANSI-capable console, consider setting the `MX_COLOR` environment variable before executing Ant.<pre>set MX_COLOR=true</pre>
|
ea2c2a
|
42 |
2. The build script will honor your Maven proxy settings. If you need to fine-tune this, please review the [settings.moxie](http://gitblit.github.io/moxie/settings.html) documentation. |