P
P
Petr Volkhanov2014-01-25 13:53:31
symfony
Petr Volkhanov, 2014-01-25 13:53:31

In which folder should I put my git project?

Installed Git using Ubuntu Server OS. Then I installed a LAMP server, all the latest version. Then I installed GitList (web interface for Git). I did everything off. instructions but got 6 errors like this:
Fatal error: Uncaught exception 'RuntimeException' with message 'There are no GIT repositories in /home/vallverk/.git/' in /var/www/src/GitList/Git/Client.php: 41 Stack trace: #0
/var/www/src/GitList/Util/Routing.php(115): GitList\Git\Client->getRepositories(Array) #1
/var/www/src/GitList/Controller/MainController. php(48): GitList\Util\Routing->getRepositoryRegex() #2
/var/www/vendor/silex/silex/src/Silex/Application.php(456): GitList\Controller\MainController->connect(Object( GitList\Application)) #3
/var/www/boot.php(7): Silex\Application->mount('', Object(GitList\Controller\MainController)) #4
/var/www/index.php(29): require('/var /www/boot.p...') #5 {main} thrown in /var/www/src/GitList/Git/Client.php on line 41

First question which GIT folder (branches, hooks, info or objects, or in another?) need to put the project? What can you comment on other errors?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2014-01-25
@eprivalov

the project should not be placed anywhere, not in any .git directories. On the contrary, the .git directory should be in the project folder.
In gitlist, you can specify a directory with repositories in which it will look for them.
Take a look at the config.ini file at the root of gitlist, there is a repositories option in which you must enter the paths to all projects.
other errors are not errors but a stacktrace, a chain of calls that eventually led to an exception being thrown. Most likely, the error is precisely that the repositories are not specified in the config and it climbs incomprehensibly where.

Y
Yuri Shikanov, 2014-01-25
@dizballanze

The project must be in the parent directory of .git

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question