Answer the question
In order to leave comments, you need to log in
How is a web app launched in production?
Firework!
Comrades, perhaps my question will be too stupid, but! I can't figure out how to launch a web application in "production" written, say, in GO. It's just that a python application can be run as cgi (maybe I'm wrong), but what about compiled applications?
Answer the question
In order to leave comments, you need to log in
1) Upload the binary to the server.
2) You start it through the supervisor, so that when the server is rebooted, it starts. Supervisor's logs are displayed in separate files, next to the project.
3) Set up Nginx to proxy requests coming to the domain to the Go application.
4) Profit
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question