It’s the first time trying to deploy to a VPS.
In the development machine, source files are in
html are at
static are at
It all works fine, both using
go run … as using the
When deploying (to a FreeBSD VPS), what I did was:
copy the binary to $
copy recursively html/ and static/ to
$HOME/go/ as well, so
But it seems that the app in the VPS can’t find some html file(s).
What am I missing?
Do I have to set
GOPATH although I’m not using sources at the VPS?
Place the html/ in another place?
Recreate the directory structure of the development machine under