News for hackers. Stuff that matters.
Re:Moving on from Rails and What’s Next by AlchemistCamp on Wednesday April 03, 2019 @10:06AM (#19563401)
This is quite a coincidence as deployment was exactly what I covered in my last YT video. I hear the complaint about deployment a lot, but it really doesn't make sense to me.

If you run mix in production, then it's just like running Rails or Node. You don't get certain features like hot upgrades in production while keeping what's in memory on the server, but you don't get that from Rails/Node/PHP/Python either.

If you want those BEAM releases, then you have to use the Elixir (or Erlang) tools for them. I also encountered a great deal of frustration when working from a different OS, but no more than I did when building Rails apps several years ago.

Now I generally, build with Gitlab CI/CD and deploy from that Gitlab container to my server with Distillery and Edeliver. It lets me use the standard CI/CD tools and have stateful upgrades. I am running Ubuntu on the server, though:

https://www.youtube.com/watch?v=-mm44ADU3kc

There are no comments on this comment yet.