Repositories location


#1

Hi GITORA authors.

Is there any possibility to replace repository directories under anothe place . e.g. C:\Users ?

Thanks for your advices.


#2

Hi,

Yes you can change the master directory of repositories. This is a manual operation, so you have to change a few setting files. Please follow the specified steps below:

  1. Stop Tomcat
  2. Copy and paste your old repository directory to a new place.
  3. Edit [TOMCAT]/webapps/gitora/WEB-INF/classes/co/gerger/sc/resources/Settings.properties file.
    Replace your old repository location with the new one. You have to be careful about trailing slash, “/”, character.
  4. Edit [TOMCAT]/webapps/gitora/WEB-INF/cgi-bin/sc/gitweb.cgi file.
    Replace your old repository location with the new one.
  5. Start Tomcat

Regards.