Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
a41d5769
Commit
a41d5769
authored
Dec 04, 2011
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated README
parent
9e089efe
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
4 deletions
+24
-4
README.md
README.md
+20
-3
config/gitlab.yml
config/gitlab.yml
+4
-1
No files found.
README.md
View file @
a41d5769
...
...
@@ -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
...
...
config/gitlab.yml
View file @
a41d5769
...
...
@@ -6,7 +6,10 @@ email:
from
:
notify@gitlabhq.com
host
:
gitlabhq.com
# Gitosis congiguration
# Git Hosting congiguration
# You can use both gitolite & gitosis
# But gitosis wiil be deprecated &
# some new features wont work with it
git_host
:
system
:
gitolite# or gitosis
admin_uri
:
git@localhost:gitolite-admin
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment