1 # Welcome to GitLab [![build status](https://secure.travis-ci.org/gitlabhq/gitlabhq.png)](https://secure.travis-ci.org/gitlabhq/gitlabhq)
3 GitLab is a free Project/Repository management application
6 <img src="http://gitlabhq.com/front.png" width="900" height="471">
12 works only with gitolite
13 sqlite as default a database
22 * pygments lib - `sudo easy_install pygments`
27 git clone git://github.com/gitlabhq/gitlabhq.git
31 # install this library first
32 sudo pip install pygments
33 sudo apt-get install python-dev
35 # give your user access to remove git repo
37 # If you are going to use user 'gitlabhq' for rails server
38 # gitlabhq ALL = (git) NOPASSWD: /bin/rm" | sudo tee -a /etc/sudoers
40 echo "USERNAME ALL = (git) NOPASSWD: /bin/rm" | sudo tee -a /etc/sudoers
42 sudo gem install bundler
44 bundle install --without development test
46 bundle exec rake db:setup RAILS_ENV=production
49 # login....admin@local.host
51 bundle exec rake db:seed_fu RAILS_ENV=production
54 Install gitolite (with repo umask 0007), edit `config/gitlab.yml` and start server
57 bundle exec rails s -e production
71 --gecos 'git version control' \
78 # Add your user to git group
79 usermod -a -G git gitlabhq_user_name
83 ### !!! IMPORTANT !!! Gitolite should have repository umask 0007 so users from git group has read/write access to repo
87 # copy your pub key to git home
88 cp ~/.ssh/id_rsa.pub /home/git/rails.pub
94 git clone git://github.com/gitlabhq/gitolite
97 gitolite/src/gl-system-install
100 # Setup (Dont forget to set umask as 0007!!)
107 ## Install ruby 1.9.2
110 sudo aptitude install git-core curl gcc checkinstall libxml2-dev libxslt-dev sqlite3 libsqlite3-dev libcurl4-openssl-dev libreadline5-dev libc6-dev libssl-dev libmysql++-dev make build-essential zlib1g-dev
112 wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz
114 tar xfvz ruby-1.9.2-p290.tar.gz
121 sudo gem update --system
123 echo "gem: --no-rdoc --no-ri" > ~/.gemrc
128 [Google Group](https://groups.google.com/group/gitlabhq)
132 We develop project on our private server.
133 Want to help? Contact us on twitter or email to become a team member.