I've created Elixir application (Slack bot) which I would like to deploy to my friend's server running Ubuntu. What's the best way to do this without having to build the application on his machine?
I tried using exrm to create a package to be deployed, but since I'm developing on Windows the package is suitable only for Windows machines (erts-7.2.1/bin
dir contains only Windows binaries).
I don't need very advanced deployments so maybe I could just copy the compiled app and run it there. But I don't know what should I copy (beam files?), from where and how to run it afterwards.
Another problem is that there's no Erlang/Elixir on the server, but there's docker so I can use one of the images. Which one should I use - Erlang or Elixir image?
The app itself uses the Application behaviour (use Application
) which starts the main supervisor.