Combining Erlang OTP application with other dependencies in one application

How to integrate an already created ORL erlang application with its dependencies into a single whole, so that when the device starts up, everything (processes) starts behind the scenes?

0
source share
1 answer

The file .appindicates which other applications your application depends on, for example, in this example . Then you create the release using reltool:create_target/2, as in this example . This function accepts the definition of release as a parameter that looks like this file . When Erlang VM downloads the release, it starts all applications in the correct order.

, , rebar, relx, mad, erlang.mk, builderl ( , , ).

0

Source: https://habr.com/ru/post/1732551/


All Articles