1, the configuration JDK
2, download Gitblit, download Gitblit, Download: http://www.gitblit.com
. 3, extract the package, without having to install
4, arranged gitblit.properties:
1. 新建一个文件my.properties(此文件复制defaults.properties)
2.修改git.repositoriesFolder=(存放路径)
3.修改http端口,server.httpPort=80
4.修改服务器的IP(本地IP),server.httpBindInterface=192.168.1.101,server.httpsBindInterface=192.168.1.101
5, gitblit.cmd run the batch file, run the following success
6, open gitblit
7, set to windows service (service) way to start gitblit
1.修改installService.cmd文件
修改ARCH:32位系统:SET ARCH=x86,64位系统:SET ARCH=amd64
添加CD程序目录:SET CD=D:/gitblit
设置StartParams="" (设置为空即可)
2.以管理员身份运行installService.cmd,并在服务中启动,保持这个服务启动