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: demos/app_runner/README.md
+12-9Lines changed: 12 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,8 @@ This demo shows how an application integrates with the MONAI Deploy Informatics
8
8
## Requirements
9
9
10
10
- MONAI Deploy Informatics Gateway 0.1.0+
11
-
- MONAI Deploy App SDK 0.2.1+ with [dicom_series_to_image_app](https://github.com/Project-MONAI/monai-deploy-app-sdk/tree/main/examples/apps/dicom_series_to_image_app) built as `dcm-to-img:latest`
11
+
- MONAI Deploy App SDK 0.2.1+
12
+
- A MAP from the [examples](https://github.com/Project-MONAI/monai-deploy-app-sdk/tree/main/examples/apps/) or BYO MAP.
12
13
- RabbitMQ configured and running
13
14
- MinIO configured and running
14
15
- Python 3.7+
@@ -17,16 +18,18 @@ This demo shows how an application integrates with the MONAI Deploy Informatics
17
18
## Running the demo
18
19
19
20
1. Install requirements specified above
20
-
2. Install python dependencies specified in [requirements.txt](./requirements.txt)
21
-
3. Edit `config.json` and change:
21
+
2. Configure an AET with one or more workflows. For example, the following command would trigger the `dcm-to-img:latest` MAP.
22
+
```
23
+
mig-cli aet add -a DCM2PNG -w dcm-to-img:latest -v
24
+
```
25
+
3. Install python dependencies specified in [requirements.txt](./requirements.txt)
26
+
4. Edit `config.json` and change:
22
27
1. `endpoint`/`host`, `username`, and `password` for both storage and messaging services
23
28
2. `bucket` where payloads are stored
24
-
3.`application` to point to the correct MAP
25
-
4. python app.py
29
+
5. python app.py
26
30
27
-
**Notes**: For MONAI Deploy App SDK 0.2.1, set `ignore_json` to false in the `config.json` file so DICOM JSON files are not downloaded.
31
+
**Notes**: For MONAI Deploy App SDK 0.2.1, set `ignore_json` to `false` in the `config.json` file so DICOM JSON files are not downloaded.
28
32
29
-
## Tips
33
+
## Other Ideas
30
34
31
-
- Try another MAP by changing `application` in the `config.json` file.
32
-
- Instead of calling App Runner, integrate with [MIS](https://github.com/Project-MONAI/monai-deploy-app-server)
35
+
💡 Instead of calling App Runner, integrate with [MIS](https://github.com/Project-MONAI/monai-deploy-app-server)
f"Message received from application={properties.app_id}. Correlation ID={correlation_id}. Delivery tag={method.delivery_tag}. Topic={method.routing_key}")
0 commit comments