From c13cf20374abb99487f7616421682e29ba048da7 Mon Sep 17 00:00:00 2001 From: Zaiming Shi Date: Wed, 9 Dec 2020 23:25:39 +0100 Subject: [PATCH] docs(README): update build from source methods --- README.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 93813e1a8..e1b2f8215 100644 --- a/README.md +++ b/README.md @@ -40,13 +40,22 @@ Get the binary package of the corresponding OS from [EMQ X Download](https://www The *EMQ X* broker requires Erlang/OTP R21+ to build since 3.0 release. +For 4.3 and later versions. + +```bash +git clone https://github.com/emqx/emqx.git +cd emqx +make +_build/emqx/rel/emqx/bin console ``` -git clone -b v4.0.0 https://github.com/emqx/emqx-rel.git -cd emqx-rel && make - -cd _build/emqx/rel/emqx && ./bin/emqx console +For earlier versions, release has to be built from another repo. +```bash +git clone https://github.com/emqx/emqx-rel.git +cd emqx-rel +make +_build/emqx/rel/emqx/bin console ``` ## Quick Start