Selaa lähdekoodia

docs(README): update build from source methods

Zaiming Shi 5 vuotta sitten
vanhempi
commit
c13cf20374
1 muutettua tiedostoa jossa 13 lisäystä ja 4 poistoa
  1. 13 4
      README.md

+ 13 - 4
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.
 
-```
-git clone -b v4.0.0 https://github.com/emqx/emqx-rel.git
+For 4.3 and later versions.
 
-cd emqx-rel && make
+```bash
+git clone https://github.com/emqx/emqx.git
+cd emqx
+make
+_build/emqx/rel/emqx/bin console
+```
 
-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