3 ms·
It's ridiculously easy. Even 6 years ago when I started, you could just run it in production with `mix phx.server`, much like running `rails server` and use th
by AlchemistCamp 5y ago
It's ridiculously easy.
Even 6 years ago when I started, you could just run it in production with `mix phx.server`, much like running `rails server` and use the exact same deployment patterns. Or you could build a release and copy it up to the server however you saw fit. At that time it was painful for some coming from different habits that involved pulling in config at run-time rather than compile time, but those patterns have also been supported since at least 2019.
Since then, the team has been continually making it easier.
Now there's a single command line to do a deploy to Fly and also one to build a docker container for you if that's what you want: https://twitter.com/chris_mccord/status/1468998944009166849 https://twitter.com/chris_mccord/status/1468998944009166849