GitHub is a great solution for code collaboration and repository management, but some individuals and companies don’t feel secure hosting their code in the cloud and instead prefer to maintain an intranet.
Descriptions and Features:
1. Gitlist provides a web interface to Git repositories. Its features include:
2. Viewing multiple Git repositories with common root.
3. Browsing every revision of the repository.
4. Viewing the contents of files in the repository at any revision.
5. Viewing the revision log of branches, history of files and directories, see what was changed when, by who.
6. Viewing the blame/annotation details of any file (if enabled).
7. Generating RSS and Atom feeds of commits, for any branch. The feeds are auto-discoverable in modern web browsers.
8. Viewing everything that was changed in a revision, and step through revisions one at a time, viewing the history of the repository.
9. Finding commits which commit messages matches given search term.
Configuration
#yum install php git httpd
Cd /var/www/html
git clone git://github.com/klaussilveira/gitlist.git gitlist
cd gitlist
mkdir cache
chmod 777 cache
Now go to http://localhost/gitlist and check it out.
Usually it’s says page not found.
For that you need to create a virtual host file in apache and with rewrite rule enable options. Below I am showing you the apache file.
cat /etc/httpd/conf.d/gitlist.conf
Alias /gitlist /var/www/html/gitlist
<Directory "/var/www/html/gitlist">
AllowOverride All
order allow,deny
Allow from all
Options -MultiViews
DirectoryIndex index.php
RewriteEngine On
</Directory>
------------------------------------------
Make sure AllowOverride option from None to All. Save your changes and restart Apache.
No comments:
Post a Comment