Skip to content

Commit ac71808

Browse files
committed
add readme
Signed-off-by: Victor Chang <[email protected]>
1 parent a95e25b commit ac71808

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

demos/app_runner/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# DEMO: MONAI Deploy App SDK App Runner Integration
2+
3+
This demo shows how an application integrates with the MONAI Deploy Informatics Gateway (MIG) by subscribing to events emitted by MIG and launches the configured MONAI Deploy Application Package (MAP).
4+
5+
6+
![Demo-AppRunner](./demo-apprunner.png)
7+
8+
## Requirements
9+
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`
12+
- RabbitMQ configured and running
13+
- MinIO configured and running
14+
- Python 3.7+
15+
16+
17+
## Running the demo
18+
19+
1. Install requirements specified above
20+
2. Install python dependencies specified in [requirements.txt](./requirements.txt)
21+
3. Edit `config.json` and change:
22+
1. `endpoint`/`host`, `username`, and `password` for both storage and messaging services
23+
2. `bucket` where payloads are stored
24+
3. `application` to point to the correct MAP
25+
4. python app.py
26+
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.
28+
29+
## Tips
30+
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)

demos/app_runner/demo-apprunner.png

77.5 KB
Loading

0 commit comments

Comments
 (0)