How to deploy a Go application to Bluemix?

2019-08-07 13:45发布

I am using Bluemix to run app, I can deploy Java app to Bluemix, does anyone know how to deploy a Go App to Bluemix?

标签: go ibm-cloud
7条回答
家丑人穷心不美
2楼-- · 2019-08-07 14:28

Deploying the app to Bluemix is pretty much the same as deploying any other app, with the exception of a command-line flag to set the custom buildpack the platform should use to provision the runtime.

Log in to your Bluemix account and run this command from the root folder of your application, where appname represents a unique name for your Bluemix-hosted app:

cf push appname -b url

More details regrading creating/pushing/deploying/connecting can be found at http://www.ibm.com/developerworks/cloud/library/cl-bluemix-go-app/

查看更多
登录 后发表回答