From 39c8e1ede4fe794a19c4e90e3ca948131f84628f Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Thu, 9 May 2019 14:50:38 +0100 Subject: [PATCH] update readme --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3688dee86..e7676a4fa 100644 --- a/README.md +++ b/README.md @@ -156,7 +156,9 @@ This means that the first deployment of your app must happen manually. To do this: -1. Ensure your code is backwards compatible -1. From the root of this repo run `CF_APP= make cf-push` +1. Run `cf target -s ; cf v3-create-app ` +1. Repeat for each cf environment Once this is done, you can push your deployment changes to jenkins to have your app deployed on every deployment. + +To delete an unused app, repeat the steps in reverse order. After you are no longer scaling, deploying, or alerting on that box, it's safe to run `cf stop `. Then, wait for a minute to make sure all tasks have finished executing, and after one last check to make sure notify still works, delete with `cf delete `