docs: update version for 1.4.13.

This commit is contained in:
Ryan Wang
2021-10-24 15:22:37 +08:00
parent 3a0e85e455
commit 5c66c75420
4 changed files with 17 additions and 18 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ vim application.yaml
4. 拉取最新的 Halo 镜像
```bash
docker pull halohub/halo:1.4.12
docker pull halohub/halo:1.4.13
```
:::info
@@ -36,7 +36,7 @@ docker pull halohub/halo:1.4.12
5. 创建容器
```bash
docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo --restart=unless-stopped halohub/halo:1.4.12
docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo --restart=unless-stopped halohub/halo:1.4.13
```
- **-it:** 开启输入功能并连接伪终端
- **-d** 后台运行容器
+1 -1
View File
@@ -88,7 +88,7 @@ mkdir ~/app && cd ~/app
3. 下载运行包
```bash
wget https://dl.halo.run/release/halo-1.4.12.jar -O halo.jar
wget https://dl.halo.run/release/halo-1.4.13.jar -O halo.jar
```
:::info
+6 -6
View File
@@ -28,17 +28,17 @@ service halo stop
2. 备份数据以及旧的运行包(重要)
```bash
cp -r ~/.halo ~/.halo.1.4.11
cp -r ~/.halo ~/.halo.1.4.12
```
```bash
cd ~/app && mv halo.jar halo.jar.1.4.11
cd ~/app && mv halo.jar halo.jar.1.4.12
```
3. 下载最新版本的运行包
```bash
cd ~/app && wget https://dl.halo.run/release/halo-1.4.12.jar -O halo.jar
cd ~/app && wget https://dl.halo.run/release/halo-1.4.13.jar -O halo.jar
```
:::info
@@ -83,13 +83,13 @@ docker rm -f halo
2. 备份数据(重要)
```bash
cp -r ~/.halo ~/.halo.1.4.11
cp -r ~/.halo ~/.halo.1.4.12
```
3. 拉取最新的 Halo 镜像
```bash
docker pull halohub/halo:1.4.12
docker pull halohub/halo:1.4.13
```
:::info
@@ -99,7 +99,7 @@ docker pull halohub/halo:1.4.12
4. 创建容器
```bash
docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo --restart=unless-stopped halohub/halo:1.4.12
docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo --restart=unless-stopped halohub/halo:1.4.13
```
- **-it:** 开启输入功能并连接伪终端
- **-d** 后台运行容器
+8 -9
View File
@@ -9,18 +9,18 @@ slug: /
<p align="center">
<a href="https://halo.run" target="_blank" rel="noopener noreferrer">
<img width="100" src="https://halo.run/logo" alt="Halo logo"></img>
<img width="100" src="https://halo.run/logo" alt="Halo logo" />
</a>
</p>
> Halo 是一款现代化的个人独立博客系统,给习惯写博客的同学多一个选择。
<p align="center">
<a href="https://github.com/halo-dev/halo/releases"><img alt="GitHub release" src="https://img.shields.io/github/release/halo-dev/halo.svg?style=flat-square"/></a>
<a href="https://github.com/halo-dev/halo/releases"><img alt="GitHub All Releases" src="https://img.shields.io/github/downloads/halo-dev/halo/total.svg?style=flat-square"/></a>
<a href="https://hub.docker.com/r/halohub/halo"><img alt="Docker pulls" src="https://img.shields.io/docker/pulls/halohub/halo?style=flat-square"/></a>
<a href="https://github.com/halo-dev/halo/commits"><img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/halo-dev/halo.svg?style=flat-square"/></a>
<a href="https://github.com/halo-dev/halo/actions"><img alt="GitHub Workflow Status" src="https://img.shields.io/github/workflow/status/halo-dev/halo/Halo%20CI?style=flat-square"/></a>
<a href="https://github.com/halo-dev/halo/releases"><img alt="GitHub release" src="https://img.shields.io/github/release/halo-dev/halo.svg?style=flat-square" /></a>
<a href="https://github.com/halo-dev/halo/releases"><img alt="GitHub All Releases" src="https://img.shields.io/github/downloads/halo-dev/halo/total.svg?style=flat-square" /></a>
<a href="https://hub.docker.com/r/halohub/halo"><img alt="Docker pulls" src="https://img.shields.io/docker/pulls/halohub/halo?style=flat-square" /></a>
<a href="https://github.com/halo-dev/halo/commits"><img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/halo-dev/halo.svg?style=flat-square" /></a>
<a href="https://github.com/halo-dev/halo/actions"><img alt="GitHub Workflow Status" src="https://img.shields.io/github/workflow/status/halo-dev/halo/Halo%20CI?style=flat-square" /></a>
</p>
------------------------------
@@ -38,10 +38,10 @@ slug: /
下载最新的 Halo 运行包:
```bash
curl -L https://github.com/halo-dev/halo/releases/download/v1.4.12/halo-1.4.12.jar --output halo.jar
curl -L https://github.com/halo-dev/halo/releases/download/v1.4.13/halo-1.4.13.jar --output halo.jar
```
其他地址:https://docs.halo.run/getting-started/downloads
其他地址:<https://docs.halo.run/getting-started/downloads>
```bash
java -jar halo.jar
@@ -83,4 +83,3 @@ Halo 使用 GPL-v3.0 协议开源,请遵守开源协议。
> 如果 Halo 对您有帮助,不妨赞助我们
<https://docs.halo.run/contribution/sponsor>