Sub navigation

Upload to VPS

Upload to VPS

It is time to move all files from your computer to the VPS. As you cannot upload folders, you must upload to every folder on the VPS. I am searching for a smarter way to synchronize files. Like github or similar, but I have not figured out how - yet.

Set Permissions

After uploading, you must "change permissions" on the main executable to 0755.

cd /goweb

You start Go on the server almost the same way as locally. You need not compile again. Just change the directory and launch the Go executable. This process will be replaced by a systemd service, which is simpler and smarter.

As soon as you change anything you must restart the "main" library. Terminate the "running process" and start the go server again.