I have created my release. The output is a fairly complicated directory structure, and many files. It has a script that I can use to execute the program ('script start', 'script console', etc.)
How do I distribute this to customers? Do I need to give them the entire directory structure? Directory bin
, with the script, is not at the top level which seems to imply that perhaps only it is needed.
You have to release it in production mode. $ rebar3 as prod release tar....
This will allow them to run ./bin/appname start from the top directory. You can also choose not to include source files by configuring your rebar.config file accordingly.