Search code examples
ibm-cloudiotibm-watsonibm-cloud-infrastructure

Not able to push app to IBM cloud through IBM cloud cli


I am trying to push a simple app to ibm cloud from my local folder(cloned from github). But getting error every time I am trying.I tried every way possible by restarting my system couple of times.enter image description here

edit 1: if i am not mentioning path I am getting the below error enter image description here


Solution

  • command does not look right.... I should start with

    cf push appname

    Ref: https://console.bluemix.net/docs/cli/reference/ibmcloud/cf_index.html#cf_push

    appname is required and is the name of the application that you see on ibm cloud dashboard.

    if you want to pass the path use -p option. So command should be:

    ibmcloud cf push appname -p C:\Dir1\Dir2\...