How to package and run the compiled files without source code files?

You might be looking for OTP releases. It’s the de facto way to distributing and deploying Erlang/Elixir apps. Basically it will compile and create a standalone tarball of your program (along with the runtime) that you can copy to your server, untar, and run.

This thread might help you:

2 Likes