Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
9b86fba5
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,发现更多精彩内容 >>
提交
9b86fba5
编写于
2月 16, 2017
作者:
M
Mike Greiling
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
revert changes to 8.17 update docs since yarn is now set for 9.0
上级
cda34805
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
8 addition
and
35 deletion
+8
-35
doc/update/8.16-to-8.17.md
doc/update/8.16-to-8.17.md
+8
-35
未找到文件。
doc/update/8.16-to-8.17.md
浏览文件 @
9b86fba5
...
...
@@ -49,31 +49,7 @@ Install Bundler:
sudo
gem
install
bundler
--no-ri
--no-rdoc
```
### 4. Update Node and Install Yarn
GitLab now runs
[
webpack
](
http://webpack.js.org
)
to compile frontend assets and
it has a minimum requirement of node v4.3.0. We are also replacing the use of
`npm`
with
`yarn`
to install node modules going forward as it is faster and
less error prone.
You can check which version you are running with
`node -v`
.
If you are running a version older than
`v4.3.0`
you will should update to a
newer version. You can find instructions to install from community maintained
packages or compile from source at the nodejs.org website.
<https://nodejs.org/en/download/>
<https://nodejs.org/en/download/package-manager/>
Install Yarn:
If you do not have yarn installed, you will need to install this as well.
Instructions to compile from source or install from a package repository can be
found on yarnpkg.com:
<https://yarnpkg.com/en/docs/install>
### 5. Get latest code
### 4. Get latest code
```
bash
cd
/home/git/gitlab
...
...
@@ -100,7 +76,7 @@ cd /home/git/gitlab
sudo
-u
git
-H
git checkout 8-17-stable-ee
```
###
6
. Install libs, migrations, etc.
###
5
. Install libs, migrations, etc.
```
bash
cd
/home/git/gitlab
...
...
@@ -117,16 +93,13 @@ sudo -u git -H bundle clean
# Run database migrations
sudo
-u
git
-H
bundle
exec
rake db:migrate
RAILS_ENV
=
production
# Install/update frontend asset dependencies
sudo
-u
git
-H
yarn
install
--production
--pure-lockfile
# Clean up assets and cache
sudo
-u
git
-H
bundle
exec
rake
gitlab:assets:clean gitlab:assets:
compile cache:clear
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake
assets:clean assets:pre
compile cache:clear
RAILS_ENV
=
production
```
**MySQL installations**
: Run through the
`MySQL strings limits`
and
`Tables and data conversion to utf8mb4`
[
tasks
](
../install/database_mysql.md
)
.
###
7
. Update gitlab-workhorse
###
6
. Update gitlab-workhorse
Install and compile gitlab-workhorse. This requires
[
Go 1.5
](
https://golang.org/dl
)
which should already be on your system from
...
...
@@ -138,7 +111,7 @@ cd /home/git/gitlab
sudo
-u
git
-H
bundle
exec
rake
"gitlab:workhorse:install[/home/git/gitlab-workhorse]"
RAILS_ENV
=
production
```
###
8
. Update gitlab-shell
###
7
. Update gitlab-shell
```
bash
cd
/home/git/gitlab-shell
...
...
@@ -147,7 +120,7 @@ sudo -u git -H git fetch --all --tags
sudo
-u
git
-H
git checkout v4.1.1
```
###
9
. Update configuration files
###
8
. Update configuration files
#### New configuration options for `gitlab.yml`
...
...
@@ -221,14 +194,14 @@ For Ubuntu 16.04.1 LTS:
sudo
systemctl daemon-reload
```
###
10
. Start application
###
9
. Start application
```
bash
sudo
service gitlab start
sudo
service nginx restart
```
### 1
1
. Check application status
### 1
0
. Check application status
Check if GitLab and its environment are configured correctly:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录