3 ms·
I like to deploy using Releases as detailed here (https://hexdocs.pm/phoenix/releases.html https://hexdocs.pm/phoenix/releases.html). This gives you folder pac
by lawik 6y ago
I like to deploy using Releases as detailed here (https://hexdocs.pm/phoenix/releases.html https://hexdocs.pm/phoenix/releases.html).
This gives you folder packaged with everything you need to run the application on the architecture you compiled it on. Very straight forward.
If you want to set it up to be a systemd service I guess it would be like any other binary command for systemd. I usually run things under something like Supervisor (http://supervisord.org/ http://supervisord.org/)