You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,10 @@ When the reader has completed this Code Pattern, they will understand how to:
39
39
40
40
*[Whisk Deploy _(wskdeploy)_](https://github.com/apache/incubator-openwhisk-wskdeploy) is a utility to help you describe and deploy any part of the OpenWhisk programming model using a Manifest file written in YAML. You'll use it to deploy all the Cloud Function resources using a single command. You can download it from the [releases page](https://github.com/apache/incubator-openwhisk-wskdeploy/releases) and select the appropriate file for your system.
41
41
42
+
```
43
+
brew install wskdeploy
44
+
```
45
+
42
46
* Install [Node.js](https://nodejs.org/) if you want to use Electron.
43
47
44
48
# Steps
@@ -62,6 +66,14 @@ Create a [Watson Visual Recognition](https://console.bluemix.net/catalog/service
62
66
* Copy the API Key in the Credentials section and paste it in the `local.env` file in the value of `WATSON_VISUAL_APIKEY`
63
67
64
68
### 3. Deploy Cloud Functions
69
+
70
+
Create 2 databases in cloudant:
71
+
72
+
1. images
73
+
2. tags
74
+
75
+

76
+
65
77
> Choose one of the deployment methods
66
78
67
79
## Deploy through the IBM Cloud Functions console user interface
@@ -102,6 +114,24 @@ $ npm start
102
114
103
115
*_(or) Double-click `web/index.html`_
104
116
117
+
> When using this option, we need to enable CORS - https://cloud.ibm.com/docs/services/Cloudant/api/cors.html#cors
118
+
119
+

120
+
121
+
Follow the below steps to enable CORS (also listed in the link above):
0 commit comments