mirror of https://github.com/halo-dev/halo
📝 更新README
parent
ad4d22b230
commit
3cc9d5a3ea
|
@ -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
|
||||
```
|
||||
|
||||
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.
|
||||
|
||||
Let's start: http://localhost:8090
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
||||
Docker 部署:
|
||||
```bash
|
||||
# 拉取镜像
|
||||
docker pull ruibaby/halo
|
||||
|
||||
# 运行
|
||||
docker run -d --name halo -p 8090:8090 -v ~/halo:/root/halo ruibaby/halo
|
||||
```
|
||||
|
||||
> 注意:如使用Idea,Eclipse等IDE运行的话,需要安装Lombok插件,另外暂不支持JDK10,主题扫描和上传会有问题。
|
||||
|
||||
Let's start: http://localhost:8090
|
||||
|
|
Loading…
Reference in New Issue