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
@@ -501,15 +498,93 @@ The example mounts the [Persistant Data Stores](https://cloud.ibm.com/docs/codee
501
498
502
499
It mounts the `fleet-input-store:/wordcount` to `/input` and `fleet-output-store:/wordcount` to `/output`.
503
500
501
+
> Note, this example assumes that the automated One-Time-Setup has been performed. Otherwise, the upload and download would need to be done manually.
502
+
503
+
504
504
Four steps are required to run the example:
505
-
1.`./upload` - will upload the .txt files from the local data directory to Cloud Object Storage
506
-
2.`./run_wordcount` - launch the fleet to perform `wc` on each of the novels.
507
-
3.`./watch_result wordcount` - will watch the COS bucket for the results, press ctrl-c if all 6 results are present
508
-
4.`./download` - will download the results from the COS bucket
505
+
506
+
#### Step 1 - Upload files
507
+
508
+
Upload the .txt files from the local data directory to Cloud Object Storage
509
+
```
510
+
./upload
511
+
```
512
+
513
+
#### Step 2 - Run the fleet
514
+
515
+
Launch the fleet to perform `wc` on each of the novels which defines the tasks from [wordcount_commands.jsonl](./wordcount_commands.jsonl) and mounts the input and output data stores.
0 commit comments