Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,17 @@ logging into Bluemix
Now that you have your IBM ID and the `cf` command-line tool (see above),
you can log into Bluemix and the deploy your app.

First you should tell the `cf` command which environment you want to operate
1. `bx login -sso -a http://api.ng.bluemix.net` (For people with @ibm.com accounts)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You haven't explained yet what the bx command is or how to install it. And it's only ever referenced in these 4 lines, not clear if maybe the user doesn't need to use cf if they have bx, or what. For reference, I have no idea what the bx command is myself!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the ibm accounts, you need to generate a token using the sso since I had trouble connecting directly to the bluemix.

2. Set target using `bx target --cf`
3. Check api endpoint using `bluemix api`
4. Push the project using `bx cf push`

~~First you should tell the `cf` command which environment you want to operate
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's with all the double tilde's - ~~ - in these lines. The Markdown rendition just displays then as double tilde's, which is what I'd expect, but ... I don't think they're needed.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ~~ was for striking out the text. I thought I was making changes in my forked repo.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries - you use a ~ prefix and suffix around the text you want to strike out.

Eg, to get this: "Here's some striked out text.", do this:

Here's some ~striked out~ text.

But there's no sense striking out something that you want deleted; just delete it. It'll show as deleted in the git diffs.

And yes, you are making changes in your forked repo, but I guess you created a PR in the primary repo pointing to your branch - which is the way you usually want to be doing it. Perfect!

with, with the `cf api` command:

cf api https://api.ng.bluemix.net

You should see the following output:
~~You should see the following output:

Setting api endpoint to https://api.ng.bluemix.net...
OK
Expand All @@ -117,15 +122,15 @@ You should see the following output:
Not logged in. Use 'cf login' to log in.
No org or space targeted, use 'cf target -o ORG -s SPACE'

Note that as long as you only ever interact with the Bluemix environment with the
~~Note that as long as you only ever interact with the Bluemix environment with the
`cf` command (and not any other CloudFoundry environments), you won't have to
run the `cf api` command again.

To login to Bluemix, use the following command:
~~To login to Bluemix, use the following command:

cf login

You will be prompted for your IBM ID userid and password, as in the following
~~You will be prompted for your IBM ID userid and password, as in the following
example:

$ cf login
Expand All @@ -137,10 +142,10 @@ example:
Authenticating...
OK

You will then be prompted to select your 'org' and 'space', just select the defaults,
~~You will then be prompted to select your 'org' and 'space', just select the defaults,
which should be your IBM ID userid and `dev`, respectively.

When complete, you should see the following:
~~When complete, you should see the following:

API endpoint: https://api.ng.bluemix.net (API version: 2.0.0)
User: [your IBM ID]
Expand Down