I
I
Igor S2015-07-02 19:47:46
Python
Igor S, 2015-07-02 19:47:46

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

2 answer(s)
S
sim3x, 2015-07-02
@xarek1986

Writing a Go ("golang") Web App with nginx, FastCG...

I
Igor Bessonov, 2016-05-31
@garikbesson

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 question

Ask a Question

731 491 924 answers to any question