3 ms·
> For me, the ultimate test is can I copy my application to a flash drive, walk it to a new clean system, and "paste" it to that new system. Go really does let
by IanCal 11y ago
> For me, the ultimate test is can I copy my application to a flash drive, walk it to a new clean system, and "paste" it to that new system. Go really does let me do that.
That used to be the case for erlang deployments that looked pretty similar, and Exrm looks like it does the same thing:
https://hexdocs.pm/exrm/extra-deployment.html https://hexdocs.pm/exrm/extra-deployment.html
There are five stages to creating and deploying a first release. The first is just generating it, the next three are for moving the release to a new place and the third is just decompressing it.
Live upgrades/downgrades seem pretty similar: https://hexdocs.pm/exrm/extra-upgrades-and-downgrades.html https://hexdocs.pm/exrm/extra-upgrades-and-downgrades.html
- commentzorro 11y agoClearly I'm not as up to speed as I might be. How do I avoid installing and configuring Erlang, Elixir, Phoenix, etc. on each machine I want to "paste" to? How do I bundle all these into one extract and go package?
- ocean3 11y agoThe tar contains erlang runtime. It has config file as well which can edited to change the setting.
- commentzorro 11y agoThen definitely more interesting than my cursory look. I don't see any mention of bundling the runtime but I'll take your word and dig around a bit more. Thanks for the info.