36 ms·
You have a nice simple solution to a simple problem. Do you just do a ‘recompile’ in the IEx shell? Docker for me became easier after the whole switchover and
by elcritch 7y ago
You have a nice simple solution to a simple problem. Do you just do a ‘recompile’ in the IEx shell?
Docker for me became easier after the whole switchover and not being involved in Linux land for a few years. Many parts that I’d built up muscle memory from years back are different. Now I login to a recent rev of a Linux distro and I have to spend time looking up how network interfaces are now handled, how to create a service, how to look at logs. Docker CLI has been more stable “api” for me the past few years. Though lately I’m doing embedded, so I just took a Nerves x86 image and got it running on a VPS. Get a minute of downtime when updating a rarely used service seems worthwhile.
- mercer 7y ago> You have a nice simple solution to a simple problem. Do you just do a ‘recompile’ in the IEx shell? Yup. I have a few umbrella apps where I'll do Application.stop() and .start(), and sometimes recompiling isn't enough, but 99% of the time it's all I need to do. For embedded stuff I suppose Docker could be very useful too. Any reason you don't run Erlang 'bare' and use releases? Apologies if that question makes no sense; I have no experience (yet) in that area but the coming year I'm excited to start working with Nerves and various IoT stuff :).