Re: How to create/start an APP in quickest way


Daniel Mikusa
 

Correct. There's a couple ways you can create the target app. Push a
dummy app or use the API directly (i.e. `cf curl` [1]). Once you create
the target app, copy source will override whatever is in the target.

Dan

[1] - http://apidocs.cloudfoundry.org/236/apps/creating_an_app.html

On Thu, May 5, 2016 at 9:27 AM, Stanley Shen <meteorping(a)gmail.com> wrote:

yes, I looked at "copy-source".

copy-source - Make a copy of app source code from one application to
another. Unless overridden, the copy-source command will restart the
application.

cf copy-source test1 cc
FAILED
App cc not found

I tried it too, is seems it needs the target APP is an existed APP, or I
did something wrong?

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.