feat(windows): Support environment variable override for windows
This commit is contained in:
parent
98c62df2e4
commit
96bd561790
14
Windows.md
14
Windows.md
|
@ -111,3 +111,17 @@ scoop install git curl make jq zip unzip
|
||||||
Visual Studio should print out `Microsoft (R) Incremental Linker`.
|
Visual Studio should print out `Microsoft (R) Incremental Linker`.
|
||||||
To fix it, Visual Studio's bin paths should be ordered prior to Cygwin's (or similar installation's)
|
To fix it, Visual Studio's bin paths should be ordered prior to Cygwin's (or similar installation's)
|
||||||
bin paths in `Path` environment variable.
|
bin paths in `Path` environment variable.
|
||||||
|
|
||||||
|
## Run EMQ X
|
||||||
|
|
||||||
|
To start EMQ X broker.
|
||||||
|
|
||||||
|
Execute `_build\emqx\rel\emqx>.\bin\emqx console` or `_build\emqx\rel\emqx>.\bin\emqx start` to start EMQ X.
|
||||||
|
|
||||||
|
Then execute `_build\emqx\rel\emqx>.\bin\emqx_ctl status` to check status.
|
||||||
|
If everything works fine, it should print out
|
||||||
|
|
||||||
|
```
|
||||||
|
Node 'emqx@127.0.0.1' 4.3-beta.1 is started
|
||||||
|
Application emqx 4.3.0 is running
|
||||||
|
```
|
||||||
|
|
|
@ -19,6 +19,8 @@
|
||||||
@set erts_vsn={{ erts_vsn }}
|
@set erts_vsn={{ erts_vsn }}
|
||||||
@set erl_opts={{ erl_opts }}
|
@set erl_opts={{ erl_opts }}
|
||||||
|
|
||||||
|
@set "CUTTLEFISH_ENV_OVERRIDE_PREFIX=EMQX_"
|
||||||
|
|
||||||
@set script=%~n0
|
@set script=%~n0
|
||||||
|
|
||||||
:: Discover the release root directory from the directory
|
:: Discover the release root directory from the directory
|
||||||
|
|
Loading…
Reference in New Issue