📝 更新README

pull/41/head
ruibaby 2018-10-16 19:24:13 +08:00
parent ad4d22b230
commit 3cc9d5a3ea
2 changed files with 17 additions and 0 deletions

View File

@ -49,6 +49,14 @@ yum install -y wget && wget http://static.ryanc.cc/halo-cli.sh && sh halo-cli.sh
sh halo-cli.sh 2 sh halo-cli.sh 2
``` ```
Docker
```bash
# Pull image
docker pull ruibaby/halo
# run
docker run -d --name halo -p 8090:8090 -v ~/halo:/root/halo ruibaby/halo
```
> Note: If you use Idea, Eclipse and other IDEs to run, you need to install the Lombok plugin, In addition, JDK10 is not supported at the moment, and there are problems with themes scanning and uploading. > Note: If you use Idea, Eclipse and other IDEs to run, you need to install the Lombok plugin, In addition, JDK10 is not supported at the moment, and there are problems with themes scanning and uploading.
Let's start: http://localhost:8090 Let's start: http://localhost:8090

View File

@ -50,6 +50,15 @@ yum install -y wget && wget http://static.ryanc.cc/halo-cli.sh && sh halo-cli.sh
sh halo-cli.sh 2 sh halo-cli.sh 2
``` ```
Docker 部署:
```bash
# 拉取镜像
docker pull ruibaby/halo
# 运行
docker run -d --name halo -p 8090:8090 -v ~/halo:/root/halo ruibaby/halo
```
> 注意如使用IdeaEclipse等IDE运行的话需要安装Lombok插件另外暂不支持JDK10主题扫描和上传会有问题。 > 注意如使用IdeaEclipse等IDE运行的话需要安装Lombok插件另外暂不支持JDK10主题扫描和上传会有问题。
Let's start: http://localhost:8090 Let's start: http://localhost:8090