You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently writing a Go web app using Revel, I followed the tutorial to make the installation.
I can make my application run without any problem using
go run myapp
Now I want to run it on my server which does not have Go installed.
Revel provides the ability to build or package the app for deployment.
Whenever I run
go package myapp
I end up with an error message because the tool cannot access a given file.
Abort: Failed to parse template D:\dev\go\src/cmd/revel/package_run.sh.template: open D:\dev\go\src/cmd/revel/package_run.sh.template: Le chemin d’accès spécifié est introuvable.
The tool is looking for the "cmd" folder in go\src\ whereas it should use the Revel installation location i.e. go\src\github.com\revel (this is where "go get" put it).
Copying and pasting the "cmd" folder at the proper location works but is not very clean.
Did I miss something during the installation?
Any feedback on this issue is very welcome.
The text was updated successfully, but these errors were encountered:
You mean because of the usage of backslashes on one side and slashes on the other side?
The path is wrong anyway: it should be "D:\dev\go\src\github.com\revel\cmd\revel\package_run.sh.template"
instead of
"D:\dev\go\src\cmd\revel\package_run.sh.template".
Hi,
I am currently writing a Go web app using Revel, I followed the tutorial to make the installation.
I can make my application run without any problem using
Now I want to run it on my server which does not have Go installed.
Revel provides the ability to build or package the app for deployment.
Whenever I run
I end up with an error message because the tool cannot access a given file.
The tool is looking for the "cmd" folder in go\src\ whereas it should use the Revel installation location i.e. go\src\github.com\revel (this is where "go get" put it).
Copying and pasting the "cmd" folder at the proper location works but is not very clean.
Did I miss something during the installation?
Any feedback on this issue is very welcome.
The text was updated successfully, but these errors were encountered: