README.md: Document how to run escript with config file

Change-Id: Icc78f4bd22608ad0c8a2c5f6095cd77543ab2048
This commit is contained in:
Pau Espin 2023-08-24 16:49:03 +02:00
parent f8258efa3f
commit 9d032c350c
1 changed files with 5 additions and 0 deletions

View File

@ -35,3 +35,8 @@ $ rebar3 shell --config ./examples/sys.config
1> osmo_dia2gsup:start().
```
== Run as an escript ==
$ rebar3 escriptize
$ ERL_FLAGS='-config ./examples/sys.config' _build/default/bin/osmo-dia2gsup