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

I made a project and I want run it just with the compiled files , needn’t the source code files, how do i deploy this. don’t consider the static files. centos system.

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: