Coder Social home page Coder Social logo

jangocheng / emqx-rel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from emqx/emqx-rel

0.0 1.0 0.0 6.34 MB

The Release Project for EMQ X Broker

Home Page: https://emqx.io

License: Apache License 2.0

Makefile 16.57% Shell 38.71% Batchfile 8.45% Erlang 26.20% Dockerfile 3.18% Smarty 0.83% Python 6.06%

emqx-rel's Introduction

emqx-rel

The Release Project for EMQ X Broker.

NOTICE: Requires Erlang/OTP 21.3 to build since EMQ X 3.2

There are 4 target profiles for building emqx-rel: emqx, emqx-pkg, emqx-edge,and emqx-edge-pkg. The default target profile is emqx. User can build specified target release by execute command make ${target-release} in emqx_rel.

Install Erlang/OTP-R21.3 and rebar3

Read the section below and install rebar3

https://www.rebar3.org/docs/getting-started#section-installing-from-source

Build on Linux/Unix/Mac

git clone -b v4.0.0 https://github.com/emqx/emqx-rel.git emqx-rel
cd emqx-rel && make
./_build/emqx/rel/emqx/bin/emqx console

Build rpm or deb package on Linux

git clone -b v4.0.0 https://github.com/emqx/emqx-rel.git emqx-rel
cd emqx-rel && make emqx-pkg
ls _packages/emqx

Build docker image

git clone -b v4.0.0 https://github.com/emqx/emqx-rel.git emqx-rel
cd emqx-rel && make emqx-docker-build

Build on Windows

git clone -b v4.0.0 https://github.com/emqx/emqx-rel.git emqx-rel
cd emqx-rel
make
cd _build\emqx\rel\emqx
bin\emqx console

Build with elixir plugins

Modify the rebar.config.

{elixir_deps,
   [ {plugin_name, {git, "url_of_plugin", {tag, "tag_of_plugin"}}}
   , ....
   ....
   ]
}

......
......

{elixir_relx_apps,
    [ app_name1
    , app_name2]}.

Due to the limit of the rebar3_elixir_compile, users have to specify all the dependencies of the the elixir plugin in rebar.config in emqx-rel.

Start with epmd

For now, emqx starts without epmd by default. If you want to run emqx with epmd, you should set the environment variable $WITH_EPMD with any value you want, for example, execute export $WITH_EPMD=true in your shell, then run emqx, epmd will start soon afterwards.

Test

make ct

License

Apache License Version 2.0

Author

EMQ X Team.

emqx-rel's People

Contributors

emqplus avatar gilbertwong96 avatar grutabow avatar hjianbo avatar huangdan avatar khodadadi avatar rory-z avatar spring2maz avatar sunny868 avatar terry-xiaoyu avatar tigercl avatar turtledeng avatar velimir avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.