Difference between revisions of "Software Repository"

From edegan.com
Jump to navigation Jump to search
imported>Harsh
imported>Harsh
Line 28: Line 28:
 
*Surname: '''mcnair'''
 
*Surname: '''mcnair'''
 
*Email: '''Edward.Egan@rice.edu'''
 
*Email: '''Edward.Egan@rice.edu'''
*Password: '''WhyHarshWhy?"
+
*Password: '''WhyHarshWhy?'''

Revision as of 18:23, 14 April 2016

Background

Given the amount of software that has been written by past computer science interns and more being written, we felt the need to have some kind of source code management system put into place so that developers can work without ever being in fear of breaking production and facing Ed's wrath (you do not want that dude angry! Wherever you go, he will find you! No escape.).

To enforce efficient source control we(Ed) chose to host our own git server on the RDP machine using Bonobo Git Server that makes use of the windows IIS platform and is open source.

Installing Bonobo git server is pretty simple:

  • dowload the zip file from the Bonobo website.
  • extract its contents. It should be a single folder containing directories like App_Data, bin etc.
  • rename that folder to anything you want. I used the name "codebase"
  • copy the codebase folder to C:\inetpub\wwwroot\
  • Allow IIS User to modify C:\inetpub\wwwroot\codebase\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 codebase to Application in IIS
    • Run IIS Manager and navigate to Sites -> Default Web Site. You should see Bonobo.Git.Server.
    • Right click on 'codebase' and convert to application.
    • Check if the selected application pool runs on .NET 4.0 and convert the site.
  • Enable Anonymous Authentication in IIS and disable the others. To do so, select the application in the left pane, double-click on the authentication icon in the right pane and set the value to of Anonymous Authentication to Enabled
  • Launch your browser and go to http://localhost/codebase. Now you can see the initial page of the Bonobo Git Server and everything should work.
    • default credentials are username: admin, password: admin

Our Git Server

We have already done the set up of the git server on the RDP machine. Here are the admin credentials:

  • Name: father
  • Surname: mcnair
  • Email: Edward.Egan@rice.edu
  • Password: WhyHarshWhy?