• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

jakubgarfield/Bonobo-Git-Server: Bonobo Git Server for Windows is a web applicat ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

jakubgarfield/Bonobo-Git-Server

开源软件地址:

https://github.com/jakubgarfield/Bonobo-Git-Server

开源编程语言:

C# 50.2%

开源软件介绍:

Bonobo Git Server

Build status

Thank you for downloading Bonobo Git Server. For more information please visit http://bonobogitserver.com.

Prerequisites


Update

Before each update please read carefully the information about compatibility issues between your version and the latest one in changelog.

  • Delete all the files in the installation folder except App_Data.
    • Default location is C:\inetpub\wwwroot\Bonobo.Git.Server.
  • Copy the files from the downloaded archive to the server location.

Installation

These steps illustrate simple installation with Windows 2008 Server and IIS 7. They are exactly the same for higher platforms (Windows Server 2012 and IIS 8.0).

  • Extract the files from the installation archive to C:\inetpub\wwwroot

  • Allow IIS User to modify C:\inetpub\wwwroot\Bonobo.Git.Server\App_Data folder. To do so

    • select Properties of App_Data folder,
    • go to Security tab,
    • click edit,
    • select IIS user (in my case IIS_IUSRS) and add Modify and Write permission,
    • confirm these settings with Apply button.
  • Convert Bonobo.Git.Server to Application in IIS

    • Run IIS Manager and navigate to Sites -> Default Web Site. You should see Bonobo.Git.Server.
    • Right click on Bonobo Git Server and convert to application.
    • Check if the selected application pool runs on .NET 4.0 and convert the site.
  • Launch your browser and go to http://localhost/Bonobo.Git.Server. Now you can see the initial page of Bonobo Git Server and everything is working.

    • Default credentials are username: admin password: admin

Frequently Asked Questions

How to clone a repository?

  • Go to the Repository Detail.
  • Copy the value in the Git Repository Location.
    • It should look like http://servername/projectname.git.
  • Go to your command line and run git clone http://servername/projectname.git.

How do I change my password?

  • Click on the account settings in the top right corner.
  • Enter new password and confirmation.
  • Save.

How to backup data?

  • Go to the installation folder of Bonobo Git Server on the server.
    • Default location is C:\inetpub\wwwroot\Bonobo.Git.Server.
  • Copy the content of App_Data folder to your backup directory.
  • If you changed the location of your repositories, backup them as well.

How to change repositories folder?

  • Log in as an administrator.
  • Go to Global Settings.
  • Set the desired value for the Repository Directory.
    • Directory must exist on the hard drive.
    • IIS User must have proper permissions to modify the folder.
  • Save changes.

Can I allow anonymous access to a repository?

  • Edit the desired repository (or do this when creating the repository).
  • Check Anonymous check box.
  • Save.

For allowing anonymous push you have to modify global settings.

  • Log in as an administrator.
  • Go to Global Settings.
  • Check the value Allow push for anonymous repositories
  • Save changes.

I'd like to use git hooks to restrict access. How do I access the web frontend usernam?

Bonobo provides the following environment variables:

  • AUTH_USER: The username used to login. Empty if it was an anonymous operation (clone/push/pull)
  • REMOTE_USER: Same as AUTH_USER
  • AUTH_USER_TEAMS: A comma-separated list containing all the teams the user belongs to. Commas in teams name are escaped with a backslash. Backslashes are also escaped with a \. Example: Teams 'Editors\ Architects', 'Programmers,Testers' will become Editors\\ Architects,Programmers\,Testers.
  • AUTH_USER_ROLES: A comma-separated list containing all the roles the user belongs to. Commas in roles are escaped with a backslash. Backslashes are also escaped with a \.
  • AUTH_USER_DISPLAYNAME: Given Name + Surname if available. Else the username.

Beware that due to the way HTTP basic authentication works, if anonymous operations (push/pull) are enabled the variables above will always be empty!

New release




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
AlexZeitler/gitcheatsheet: My personal git cheat sheet发布时间:2022-06-11
下一篇:
azerothcore/wiki: AzerothCore wiki based on Drassil Git-Wiki发布时间:2022-06-11
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap