Commit e06b39cc authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

updated gems & readme

parent 415d09be
...@@ -9,7 +9,7 @@ gem "kaminari" ...@@ -9,7 +9,7 @@ gem "kaminari"
gem "haml-rails" gem "haml-rails"
gem "jquery-rails" gem "jquery-rails"
gem "grit", :git => "https://github.com/gitlabhq/grit.git" gem "grit", :git => "https://github.com/gitlabhq/grit.git"
gem "gitolite", :git => "https://github.com/gitlabhq/gitolite.git" gem "gitolite", :git => "https://github.com/gitlabhq/gitolite-client.git"
gem "carrierwave" gem "carrierwave"
gem "six" gem "six"
gem "therubyracer" gem "therubyracer"
......
...@@ -5,7 +5,7 @@ GIT ...@@ -5,7 +5,7 @@ GIT
annotate (2.4.1.beta1) annotate (2.4.1.beta1)
GIT GIT
remote: https://github.com/gitlabhq/gitolite.git remote: https://github.com/gitlabhq/gitolite-client.git
revision: 36dabd226caa40ff052677719adaacbfe667b36c revision: 36dabd226caa40ff052677719adaacbfe667b36c
specs: specs:
gitolite (0.0.3.alpha) gitolite (0.0.3.alpha)
......
...@@ -57,10 +57,14 @@ Install gitolite (with repo umask 0007), edit `config/gitlab.yml` and start serv ...@@ -57,10 +57,14 @@ Install gitolite (with repo umask 0007), edit `config/gitlab.yml` and start serv
bundle exec rails s -e production bundle exec rails s -e production
``` ```
### Create git user
## Install Gitolite
```bash ```bash
# create git user
sudo adduser \ sudo adduser \
--system \ --system \
--shell /bin/sh \ --shell /bin/sh \
...@@ -76,9 +80,28 @@ usermod -a -G git gitlabhq_user_name ...@@ -76,9 +80,28 @@ usermod -a -G git gitlabhq_user_name
``` ```
## Install Gitolite ### !!! IMPORTANT !!! Gitolite should have repository umask 0007 so users from git group has read/write access to repo
```bash
# copy your pub key to git home
cp ~/.ssh/id_rsa.pub /home/git/rails.pub
### !!! IMPORTANT !!! Gitolite umask should be 0007 so users from git group has read/write access to repo # enter user git
sudo -i -u git
# clone gitolite
git clone git://github.com/gitlabhq/gitolite
# install gitolite
gitolite/src/gl-system-install
# Setup (Dont forget to set umask as 0007!!)
gl-setup ~/rails.pub
```
## Install ruby 1.9.2 ## Install ruby 1.9.2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment