Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
2b680496
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2b680496
编写于
12月 06, 2011
作者:
D
Dmitriy Zaporozhets
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
readme cleaning
上级
3655b042
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
15 addition
and
95 deletion
+15
-95
README.md
README.md
+15
-95
未找到文件。
README.md
浏览文件 @
2b680496
...
@@ -18,109 +18,29 @@ sqlite as default a database
...
@@ -18,109 +18,29 @@ sqlite as default a database
*
sqlite
*
sqlite
*
git
*
git
*
gitolite
*
gitolite
*
ubuntu/debian
*
pygments lib -
`sudo easy_install pygments`
*
pygments lib -
`sudo easy_install pygments`
## Install
Project
## Install
```
bash
Checkout wiki pages for installation information, migration, etc.
git clone git://github.com/gitlabhq/gitlabhq.git
cd
gitlabhq/
## Community
# install this library first
sudo
pip
install
pygments
sudo
apt-get
install
python-dev
sudo
gem
install
bundler
bundle
install
--without
development
test
bundle
exec
rake db:setup
RAILS_ENV
=
production
# create admin user
# login....admin@local.host
# pass.....5iveL!fe
bundle
exec
rake db:seed_fu
RAILS_ENV
=
production
```
Install gitolite (with repo umask 0007), edit
`config/gitlab.yml`
and start server
```
bash
bundle
exec
rails s
-e
production
```
## Install Gitolite
```
bash
# create git user
sudo
adduser
\
--system
\
--shell
/bin/sh
\
--gecos
'git version control'
\
--group
\
--disabled-password
\
--home
/home/git
\
git
# Add your user to git group
usermod
-a
-G
git gitlabhq_user_name
```
### !!! 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
# 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
```
bash
sudo
aptitude
install
git-core openssh-server 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
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz
tar
xfvz ruby-1.9.2-p290.tar.gz
cd
ruby-1.9.2-p290
./configure
make
sudo
checkinstall
-D
sudo
gem update
--system
[
Google Group
](
https://groups.google.com/group/gitlabhq
)
IRC freenode: #gitlabhq
echo
"gem: --no-rdoc --no-ri"
>
~/.gemrc
## Contacts
```
## Community
Twitter
*
@gitalbhq
*
@dzaporozhets
[
Google Group
](
https://groups.google.com/group/gitlabhq
)
Email
*
m@gitlabhq.com
## Contribute
## Contribute
We develop project on our private server.
We are on our way to full open source.
Want to help? Contact us on twitter or email to become a team member.
Want to help - create an issue on github and notify us that you are ready to start it.
If approved - fork, code, cover with tests & make pull request.
We'll accept good pull requests.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录