159 字
1 分钟
Windows Install Gitblit
Gitblit安装步骤(需先安装 Java 环境):
- Gitblit官网 下载gitblit文件。
- 文件解压后,使用
VS Code打开。 - 将
data/defaults.properties文件复制到更目录,并重命名为my.properties。 - 打开
data/gitblit.properties文件,注释include = defaults.properties,添加include = my.properties。 - 在
my.properties中找到server.httpPort修改程序访问端口。 my.properties中server.httpsBindInterface可以绑定IP地址。- 控制台使用
.\gitblit.cmd启动程序。 - 使用浏览器访问该网站,默认用户名和密码是
admin。 - 将
gitblit设置为 Windows 服务:- 下载
prunsrv.exe程序。 - 打开
installService.cmd文件,添加SET CD=当前文件夹所在目录,将"%CD%\%ARCH%\gitblit.exe"改为"%CD%\%ARCH%\prunsrv.exe"。 - 打开
uninstallService.cmd文件,同上。
- 下载
Windows Install Gitblit
https://kuriyama.top/posts/windows/windows-install-gitblit/
