安装环境:java1.8  Git-2.20.1 Gitblit-1.8.0.zip ,下载之后分别安装。

  1. java git 安装 
  2. 解压 Gitblit-1.8.0.zip
  3. 修改gitblit下data目录下的gitblit.properties,将include = defaults.properties注释掉,新增include = my.properties,同时也在data目录下copy一份my.properties                               windows 安装本地服务器 gitblit
  4. 在根目录新建一个文件夹project                                                                                               windows 安装本地服务器 gitblit
  5. 修改my.properties 配置
    1. git.repositoriesFolder(资料库路径)=E:\gitblit-1.8.0\project(刚才配置的project路径)windows 安装本地服务器 gitblit
    2. server.httpPort=端口                                                                windows 安装本地服务器 gitblit
    3. server.httpBindInterface=当前电脑ip                                                        windows 安装本地服务器 gitblit
  6. 运行gitblit根目录下的gitblit.cmd 批处理文件 
  7. 浏览器登陆                                                                                                  windows 安装本地服务器 gitblit
  8. 出现下图说明部署成功windows 安装本地服务器 gitblit

相关文章:

  • 2021-12-25
  • 2021-11-19
  • 2021-10-17
  • 2022-12-23
  • 2022-01-05
  • 2021-06-22
  • 2021-11-20
猜你喜欢
  • 2022-12-23
  • 2021-06-04
  • 2021-11-30
  • 2021-07-15
  • 2021-07-24
相关资源
相似解决方案