Skip to content
This repository was archived by the owner on May 23, 2019. It is now read-only.

Commit afc1673

Browse files
authored
fixed numbering in open whisk doc
1 parent 6e2c653 commit afc1673

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

Docs/OpenWhisk.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
# Setup OpenWhisk
2-
1) Create an OpenWhisk account on the [Welcome to Bluemix OpenWhisk](https://new-console.ng.bluemix.net/openwhisk/) page.
2+
1. Download and install the [OpenWhisk CLI](https://new-console.ng.bluemix.net/openwhisk/cli) zip with an executable inside. Once downloaded, unzip the file and either start using the `wsk` command right there or add the wsk executable to your `PATH`. Then set your OpenWhisk API host and auth key as mentioned in step 2 of the "Configure CLI" page.
33

4-
2) Download and install the [OpenWhisk CLI](https://new-console.ng.bluemix.net/openwhisk/cli) zip with an executable inside. Once downloaded, unzip the file and either start using the `wsk` command right there or add the wsk executable to your `PATH`. Then set your OpenWhisk API host and auth key as mentioned in step 2 of the "Configure CLI" page.
4+
2. On that same [OpenWhisk CLI](https://new-console.ng.bluemix.net/openwhisk/cli) page, you can find the values needed to populate the [properties.json](../BluePic-Server/properties.json) file under the `Bluepic-Server` directory.
55

6-
3) On that same [OpenWhisk CLI](https://new-console.ng.bluemix.net/openwhisk/cli) page, you can find the values needed to populate the [properties.json](../BluePic-Server/properties.json) file under the `Bluepic-Server` directory.
7-
8-
1. In step 2 on the "OpenWhisk - Configure CLI" page, you will see a command that looks similar to:
6+
3. In step 2 on the "OpenWhisk - Configure CLI" page, you will see a command that looks similar to:
97

108
`wsk property set --apihost <hostName> --auth <authKey>`
119

12-
2. Take the value after `--apihost` and put it as the `hostName` value in `properties.json`.
10+
4. Take the value after `--apihost` and put it as the `hostName` value in `properties.json`.
1311

14-
3. Next, insert a namespace value within the existing `urlPath` value in `properties.json`. In the `<namespace>` spot to be exact:
12+
5. Next, insert a namespace value within the existing `urlPath` value in `properties.json`. In the `<namespace>` spot to be exact:
1513
`"/api/v1/namespaces/<namespace>/actions/bluepic/processImage?blocking=false"`
1614
You can find this value at the top of the Bluemix UI, it will be a combination of the org and the space name, for example: `swiftdo%40us.ibm.com_dev`. Where our email is the org name, and `dev` is the space name.
1715

0 commit comments

Comments
 (0)