James Moger
2014-03-26 617909819cd1b955647dd8584036fc7b2a014265
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
JM 7 License
8 -------
9
6c4be1 10 Gitblit is distributed under the terms of the [Apache Software Foundation license, version 2.0](http://www.apache.org/licenses/LICENSE-2.0).
233eb0 11 The text of the license is included in the file LICENSE in the root of the project.
f13c4c 12
85c2e6 13 Java Runtime Requirement
f13c4c 14 ------------------------------------
JM 15
85c2e6 16 Gitblit requires at Java 6 Runtime Environment (JRE) or a Java 6 Development Kit (JDK).
f13c4c 17
JM 18 Getting help
19 ------------
20
6c4be1 21 Read the online documentation available at the [Gitblit website](http://gitblit.com)
233eb0 22 Issues, binaries, & sources @ [Google Code](http://code.google.com/p/gitblit)
f13c4c 23
JM 24 Building Gitblit
25 ----------------
26 [Eclipse](http://eclipse.org) is recommended for development as the project settings are preconfigured.
27
6c4be1 28 1. Import the gitblit project into your Eclipse workspace.
f13c4c 29 *There will be lots of build errors.*
6c4be1 30 2. Using Ant, execute the `build.xml` script in the project root.
f13c4c 31 *This will download all necessary build dependencies and will also generate the Keys class for accessing settings.*
JM 32 3. Select your gitblit project root and **Refresh** the project, this should correct all build problems.
6c4be1 33 4. Using JUnit, execute the `com.gitblit.tests.GitBlitSuite` test suite.
1f9dae 34 *This will clone some repositories from the web and run through the unit tests.*
ea2c2a 35 5. Execute the *com.gitblit.GitBlitServer* class to start Gitblit GO.
JM 36
37 Building Tips & Tricks
38 ----------------------
6c4be1 39 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 40 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.