gitlist ubuntu 12.04

https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/installation.md
https://github.com/klaussilveira/gitlist
http://ludwigkb.blogspot.nl/2012/06/installing-git-on-ubuntu-1204-lts.html
apt-get install git-core
2. Installing Gitlist:
cd /var/www/
git clone git://github.com/klaussilveira/gitlist.git gitlist
Cloning into 'gitlist'... remote: Counting objects: 541, done. remote: Compressing objects: 100% (344/344), done. remote: Total 541 (delta 246), reused 483 (delta 188) Receiving objects: 100% (541/541), 431.31 KiB | 161 KiB/s, done. Resolving deltas: 100% (246/246), done.
cd gitlist
mkdir cache
chmod 777 cache
mv config.ini-example config.ini
nano config.ini
paste and change accordingly:
[git]
client = '/usr/bin/git' ; Your git executable path
repositories = '/var/cache/git' ; Path to your repositories
 
; You can hide repositories from GitList, just copy this for each repository you want to hide
; hidden[] = '/var/www/projects/BetaTest'
 
[app]
baseurl = 'http://localhost/gitlist' ; Base URL of the application
 
; If you need to specify custom filetypes for certain extensions, do this here
[filetypes]
; extension = type
; dist = xml
I'm using nginx here :) so:
nano /etc/nginx/sites-available/default
Add the following lines below:
location /gitlist {
                index index.php;
                include fastcgi_params;
                gzip off;
 
        }
4. /etc/init.d/nginx restart 5. cd /var/cache/git 6. mkdir project.git 7. cd project.git/ 8. git init Initialized empty Git repository in /var/cache/git/project.git/.git/ 9. echo "Git Project" > .git/description 10. git config --global user.name "User1" 11. git config --global user.email "user1@example.com" 12. git commit -a Please run this under git repo. # On branch master # # Initial commit # nothing to commit (create/copy files and use "git add" to track) 13. touch .git/git-daemon-export-ok Marking a repository as exported is done by using the file git-daemon-export-ok. 14. git daemon --base-path=/var/cache/git --detach --syslog --export-all Now the git daemon is running on port 9418 on your computer, we can start to use it with the URL git:// location. You can do a copy to your development environment: $ git clone git://server/project.git project Or for example, clone redis from github: $ git clone https://github.com/antirez/redis.git Cloning into 'redis'... remote: Counting objects: 17341, done. remote: Compressing objects: 100% (5949/5949), done. remote: Total 17341 (delta 12658), reused 15810 (delta 11224) Receiving objects: 100% (17341/17341), 4.12 MiB | 466 KiB/s, done. Resolving deltas: 100% (12658/12658), done. If our clone succeeded, we should now have a local directory called redis.

 

Hessen Kasselstraat 8
5615 SM Eindhoven
phone: +316-81888456