summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2011-12-04 01:52:19 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2011-12-04 01:52:19 +0200
commita41d57691d47dce8db788d6cf97031bf1321a792 (patch)
tree143c70fb6d935c95c8c0239a8a4bab5d32042bd3 /README.md
parent9e089efe5a2defa38cc94347a5051f1cfe91406b (diff)
downloadgitlab-ce-a41d57691d47dce8db788d6cf97031bf1321a792.tar.gz
updated README
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 20 insertions, 3 deletions
diff --git a/README.md b/README.md
index 766d18cca05..12a0aba709c 100644
--- a/README.md
+++ b/README.md
@@ -29,7 +29,8 @@ git clone git://github.com/gitlabhq/gitlabhq.git
cd gitlabhq/
# install this library first
-sudo easy_install pygments
+sudo pip install pygments
+sudo apt-get install python-dev
# give your user access to remove git repo
# Ex.
@@ -56,10 +57,9 @@ Install gitosis, edit `config/gitlab.yml` and start server
bundle exec rails s -e production
```
-## Install Gitosis
+### Create git user
```bash
-sudo aptitude install gitosis
sudo adduser \
--system \
@@ -70,6 +70,22 @@ sudo adduser \
--home /home/git \
git
+
+# Add your user to git group
+usermod -a -G git gitlabhq_user_name
+
+```
+
+## Install Gitolite
+
+### !!! IMPORTANT !!! Gitolite umask should be 0007 so users from git group has read/write access to repo
+
+## Install Gitosis
+
+```bash
+sudo aptitude install gitosis
+
+
ssh-keygen -t rsa
sudo -H -u git gitosis-init < ~/.ssh/id_rsa.pub
@@ -79,6 +95,7 @@ sudo chmod 755 /home/git/repositories/gitosis-admin.git/hooks/post-update
cd /tmp && git clone git@localhost:gitosis-admin.git
rm -rf gitosis-admin.git && cd
+
```
## Install ruby 1.9.2