commit | cdd84e4a5a7cf7bccb3c5492ea1ec5a5ab5ab6ec | [log] [tgz] |
---|---|---|
author | Alexander Couzens <lynxis@fe80.eu> | Wed Jul 26 03:02:09 2023 +0200 |
committer | Alexander Couzens <lynxis@fe80.eu> | Fri Nov 10 13:19:20 2023 +0100 |
tree | d67bc891fa850f7287a8c9f80184f1447c2e34a2 | |
parent | be945307eb8b41a338e27a57fc5a3e833207a6fe [diff] |
rebar3: define a release Further with the release, rebar3 will also start the application when calling `rebar3 shell`. Change-Id: I76cb16e28b5bc6fb231566be1bd7905235fdf56b
This project implements a proxy translating Diameter into GSUP, hence allowing Diameter clients connecting to GSUP server. This allows, for instance, using OsmoHLR as an HSS used by 4G/5G nodes.
Install erlang and rebar3 packages (not "rebar", that's version 2! You may need to compile it from source in some distros).
$ rebar3 compile $ rebar3 escriptize
Unit tests can be run this way:
$ rebar3 eunit
Once osmo_dia2gsup is built, you can start it this way:
$ rebar3 shell
Passing a config file:
$ rebar3 shell --config ./examples/sys.config
Running it as an escript:
$ rebar3 escriptize $ ERL_FLAGS='-config ./examples/sys.config' _build/default/bin/osmo-dia2gsup
rebar3 release