Answer the question
In order to leave comments, you need to log in
How to deploy a Go application?
In general, the task is as follows:
Answer the question
In order to leave comments, you need to log in
On practice
The server should not have any utilities for deployment, migrations, etc., we do not put go there. That is, the deb package is an independent unit;you will either have to store the version injection sequence outside of the package, or the version that came before the package. And then write the logic how to process different options - there is a version, there is no version, etc.
Running daemons via systemd (or alternative)since alternatives are gradually being cut out of distributions, then there is no choice in fact.
ansible is better)) there is no need to litter the system with ruby installation. Ansible uses python, and it is available in almost any linux system
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question