[Deploy beego app]


#1

I have golang project on begoo frame work. I can build it become executable file, config file and ui file. How can I upload my project on this hosting? How can I edit my config file?
When I upload all source on this hosting, its return error like:


My config is:

Is anybody can help me edit my config and upload my project on this hosting. Many thanks.!


#2

You must first install govendor in your dev environment and then run:

 govendor init

This should generate a file ./vendor/vendor.json in your current working directory.

You can then add beego package dependency using the below:

govendor fetch github.com/astaxie/beego 

You can then deploy your app to OpsCaptain.