Skip to content

Commit

Permalink
Added --include-label-text and json pretty print
Browse files Browse the repository at this point in the history
  • Loading branch information
benknoll-umn committed Feb 14, 2024
1 parent f8e4cd7 commit 97279db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/deploy-pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Wait for the deployment to finish ("Done deploying all servers.") and then Ctrl+
Next deploy the pipeline service.

```bash
b9 serve-pipeline --rtf -p 55000 > serve-pipeline.log &
b9 serve-pipeline --rtf --include-label-text -p 55000 > serve-pipeline.log &
```

Next we need to create a configuration file for the API Gateway. Save the following contents to a file named "gateway.yml".
Expand Down Expand Up @@ -59,7 +59,7 @@ BODY=$(jq --null-input --arg doc "$(base64 "97_204.txt")" \
'{ "event": { "event_id": "97_204.txt", "binaries": { "rtf": $doc }}, "params": { "document_name": "plaintext" }}')
curl -X POST http://127.0.0.1:8080/v1/pipeline/biomedicus-default-pipeline/process \
-H 'Content-Type: application/json' \
-d "${BODY}"
-d "${BODY}" | python -m json.tool
```

## Conclusion
Expand Down

0 comments on commit 97279db

Please sign in to comment.