Gitblit is distributed under the terms of the Apache Software Foundation license, version 2.0.
The text of the license is included in the file LICENSE in the root of the project.
Gitblit requires at Java 6 Runtime Environment (JRE) or a Java 6 Development Kit (JDK).
Eclipse is recommended for development as the project settings are preconfigured.
- Import the gitblit project into your Eclipse workspace.
There will be lots of build errors.
- Using Ant, execute the
build.xmlscript in the project root.
This will download all necessary build dependencies and will also generate the Keys class for accessing settings.
- Select your gitblit project root and Refresh the project, this should correct all build problems.
- Using JUnit, execute the
This will clone some repositories from the web and run through the unit tests.
- Execute the com.gitblit.Launcher class to start Gitblit.