Skip to content
GitLab
菜单
为什么选择 GitLab
定价
联系销售
探索
为什么选择 GitLab
定价
联系销售
探索
登录
获取免费试用
主导航
搜索或转到…
项目
GitLab
管理
动态
成员
标记
计划
议题
议题看板
里程碑
迭代
需求
代码
合并请求
仓库
分支
提交
标签
仓库图
比较修订版本
代码片段
锁定的文件
构建
流水线
作业
流水线计划
测试用例
产物
部署
发布
Package registry
容器镜像库
模型注册表
运维
环境
Terraform 模块
监控
事件
服务台
分析
价值流分析
贡献者分析
CI/CD 分析
仓库分析
代码评审分析
议题分析
洞察
模型实验
效能分析
帮助
帮助
支持
GitLab 文档
比较 GitLab 各版本
社区论坛
为极狐GitLab 提交贡献
提交反馈
隐私声明
快捷键
?
新增功能
4
代码片段
群组
项目
显示更多面包屑
gitlab-cn
GitLab
提交
91045358
提交
91045358
编辑于
13 years ago
作者:
Nihad Abbasov
浏览文件
操作
下载
补丁
差异文件
brand new README
上级
3538ae85
No related branches found
No related tags found
无相关合并请求
变更
2
隐藏空白变更内容
行内
左右并排
显示
2 个更改的文件
README.md
+102
-0
102 个添加, 0 个删除
README.md
README.rdoc
+0
-104
0 个添加, 104 个删除
README.rdoc
有
102 个添加
和
104 个删除
README.md
0 → 100644
+
102
−
0
浏览文件 @
91045358
# Welcome to GitLab [](https://secure.travis-ci.org/gitlabhq/gitlabhq)
GitLab is a free Project/Repository management application
## Application details
rails 3.1
works only with gitosis
sqlite as default a database
## Requirements
*
ruby 1.9.2
*
sqlite
*
git
*
gitosis
*
ubuntu/debian
*
pygments lib -
`sudo easy_install pygments`
## Install Project
```
bash
git clone git://github.com/gitlabhq/gitlabhq.git
cd
gitlabhq/
# install this library first
sudo
easy_install pygments
# give your user access to remove git repo
# Ex.
# If you are going to use user 'gitlabhq' for rails server
# gitlabhq ALL = (git) NOPASSWD: /bin/rm" | sudo tee -a /etc/sudoers
#
echo
"USERNAME ALL = (git) NOPASSWD: /bin/rm"
|
sudo tee
-a
/etc/sudoers
sudo
gem
install
bundler
bundle
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 gitosis, edit
`conf/gitosis.yml`
and start server
```
bash
rails s
-e
production
```
## Install Gitosis
```
bash
sudo
aptitude
install
gitosis
sudo
adduser
\
--system
\
--shell
/bin/sh
\
--gecos
'git version control'
\
--group
\
--disabled-password
\
--home
/home/git
\
git
ssh-keygen
-t
rsa
sudo
-H
-u
git gitosis-init < ~/.ssh/id_rsa.pub
sudo chmod
755 /home/git/repositories/gitosis-admin.git/hooks/post-update
```
## Install ruby 1.9.2
```
bash
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
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
echo
"gem: --no-rdoc --no-ri"
>
~/.gemrc
```
## Community
[
Google Group
](
https://groups.google.com/group/gitlabhq
)
## Contribute
We develop project on our private server.
Want to help? Contact us on twitter or email to become a team member.
此差异已折叠。
点击以展开。
README.rdoc
已删除
100644 → 0
+
0
−
104
浏览文件 @
3538ae85
== Welcome to GitLab
GitLAb is a free Project/Repository managment application
== Application details
rails 3.1
works only with gitosis
sqlite as default db
== Requirements
* ruby 1.9.2
* sqlite
* git
* gitosis
* ubuntu/debian
* pygments lib - sudo easy_install pygments
== Install Project
git clone git://github.com/gitlabhq/gitlabhq.git
cd gitlabhq/
# install this library first
sudo easy_install pygments
# give your user access to remove git repo
# Ex.
# If you are going to use user 'gitlabhq' for rails server
# gitlabhq ALL = (git) NOPASSWD: /bin/rm" | sudo tee -a /etc/sudoers
#
echo "USERNAME ALL = (git) NOPASSWD: /bin/rm" | sudo tee -a /etc/sudoers
sudo gem install bundler
bundle
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 gitosis, edit conf/gitosis.yml & start server
rails s -e production
== Install Gitosis
sudo aptitude install gitosis
sudo adduser \
--system \
--shell /bin/sh \
--gecos 'git version control' \
--group \
--disabled-password \
--home /home/git \
git
ssh-keygen -t rsa
sudo -H -u git gitosis-init < ~/.ssh/id_rsa.pub
sudo chmod 755 /home/git/repositories/gitosis-admin.git/hooks/post-update
== Install ruby 1.9.2
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
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
echo "gem: --no-rdoc --no-ri" > ~/.gemrc
== Community
gitlabhq[https://groups.google.com/forum/?hl=en#!forum/gitlabhq] Google Group
== Contribute
We develop project on our private server.
Want to help? Contact us on twitter or email to become a team member.
此差异已折叠。
点击以展开。
预览
0%
加载中
请重试
或
添加新附件
.
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
保存评论
取消
想要评论请
注册
或
登录