A
A
Artem00712017-09-23 09:05:28
go
Artem0071, 2017-09-23 09:05:28

How to run code on the server?

I'm a php guy

Now I'm looking into other programming languages ​​for self-development
All tutorials end up basically writing a "hello world" program and covering the basics

But how do I run this code on a server?
For example, if we take the Golang language, where should I copy these *.go files?

If you take php, then I just send ftp to hosting and enjoy life, but what to do in the case of other languages? How to see your running code on the hosting, which you need to run from under the console?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2017-09-23
@Artem0071

Each language and working environment has its own sequence of actions. In particular, to run a web application in Go, you need to write a web server in Go, compile it, put it in any convenient place on the server, and run something like Supervisord .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question