-
Notifications
You must be signed in to change notification settings - Fork 156
Update README.md #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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) | ||
| 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 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What's with all the double tilde's -
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No worries - you use a Eg, to get this: "Here's some 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 | ||
|
|
@@ -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 | ||
|
|
@@ -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] | ||
|
|
||
There was a problem hiding this comment.
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
bxcommand 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 usecfif they havebx, or what. For reference, I have no idea what thebxcommand is myself!There was a problem hiding this comment.
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.