Skip to content

Commit fdba532

Browse files
author
Twana Daniel
committed
Update cf to bx
1 parent 15c275d commit fdba532

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,12 @@ Option 2 (deploy from your local machine):
4242
1. Clone or download this repo onto your machine.
4343
2. Open a terminal prompt to the directory of your application.
4444
3. If you don't have a Bluemix account, [create a free one here](https://console.ng.bluemix.net/registration/).
45-
4. Set your Cloud Foundry CLI tool's API endpoint to Bluemix: `cf api https://api.ng.bluemix.net `
46-
5. Login to Bluemix via the command line: `cf login`
47-
6. Create the instance of Compose for MongoDB on Bluemix: `cf create-service compose-for-mongodb Standard mongodb`
48-
7. Push your app to bluemix with `cf push`
49-
8. Done, the app should be looking like:<img src="ReadME-Images/live-app.png">
45+
4. Set your Cloud Foundry CLI tool's API endpoint to Bluemix: `bx api https://api.ng.bluemix.net `
46+
5. Login to Bluemix via the command line: `bx login`
47+
6. Target your Bluemix ORG and SPACE `bx target -o ORG -s SPACE`
48+
7. Create the instance of Compose for MongoDB on Bluemix: `bx cf create-service compose-for-mongodb Standard mongodb`
49+
8. Push your app to bluemix with `bx cf push`
50+
9. Done, the app should be looking like:<img src="ReadME-Images/live-app.png">
5051

5152

5253

@@ -82,13 +83,13 @@ Please create a pull request with your desired changes.
8283
The primary source of debugging information for your Bluemix app is the logs. To see them, run the following command using the Cloud Foundry CLI:
8384

8485
```
85-
$ cf logs <application-name> --recent
86+
$ bx cf logs <application-name> --recent
8687
```
8788

8889
If you are not sure what your application name is, use this command to print your application name(s):
8990

9091
```
91-
$ cf apps
92+
$ bx cf apps
9293
```
9394

9495
For more detailed information on troubleshooting your application, see the [Troubleshooting section](https://www.ng.bluemix.net/docs/troubleshoot/tr.html) in the Bluemix documentation.

0 commit comments

Comments
 (0)