From 3cc9d5a3ea851d6f477e061f7730bde8c60b1537 Mon Sep 17 00:00:00 2001 From: ruibaby Date: Tue, 16 Oct 2018 19:24:13 +0800 Subject: [PATCH] =?UTF-8?q?:memo:=20=E6=9B=B4=E6=96=B0README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README-en-US.md | 8 ++++++++ README.md | 9 +++++++++ 2 files changed, 17 insertions(+) diff --git a/README-en-US.md b/README-en-US.md index 684632139..a38ce4e8e 100755 --- a/README-en-US.md +++ b/README-en-US.md @@ -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 diff --git a/README.md b/README.md index 946432bad..510f8c027 100755 --- a/README.md +++ b/README.md @@ -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