I've developed an app on Windows machine and I need to deploy it to Ubuntu 18.04 server. The tools I'd like to use are distillery and edeliver.
So can I just build the release with distillery on my Windows machine or should I build it on the machine with the same CPU architecture and Ubuntu 18.04 as the future production machine will be, for example create Virtualbox Ubuntu guest machine, share my app's project folder between Windows host machine and guest machine and build release on Ubuntu guest machine?
If someone develop elixir apps on Windows can you share steps of your deployment procedure?
Normally distillery packs everything you need to run your app and it's platform dependent. We do our builds in docker with image that matches production server architecture precisely, but it's also possible to use some dedicated build server.
However, if your app doesn't use any odd libraries that depend on binaries, I think (but I'm not sure) you might get away with just setting up runtime on server as you wish and just moving erlang bytecode compiled on Windows. But why would you want to do that?