Skip to content

Commit 9608cd7

Browse files
authored
Adding missed step for setting input env var to fix the doc issue (#496)
Signed-off-by: M Q <mingmelvinq@nvidia.com>
1 parent 493c771 commit 9608cd7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/source/getting_started/tutorials/simple_app.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ pip install scikit-image, setuptools, Pillow, matplotlib
5353
# See the input file exists in the default `input`` folder in the current working directory
5454
ls examples/apps/simple_imaging_app/input/
5555

56+
# Set the environment variable for the input, with relative path in this example.
57+
export HOLOSCAN_INPUT_PATH="./examples/apps/simple_imaging_app/input"
58+
59+
# Env var can also be used to direct the output instead of using the default folder as in the following steps
60+
export HOLOSCAN_OUTPUT_PATH="./output_simple_imaging"
61+
5662
# Local execution of the app with output file in the `output` folder in the current working directory
5763
python examples/apps/simple_imaging_app/app.py
5864

@@ -72,7 +78,7 @@ docker run --rm simple_app-x64-workstation-dgpu-linux-amd64:latest show
7278

7379
# Run the MAP container image with MONAI Deploy MAP Runner, with a cleaned output folder
7480
rm -rf output
75-
monai-deploy run simple_app-x64-workstation-dgpu-linux-amd64:latest -i input -o output
81+
monai-deploy run simple_app-x64-workstation-dgpu-linux-amd64:latest -i $HOLOSCAN_INPUT_PATH -o output
7682

7783
# Check the output file
7884
ls output

0 commit comments

Comments
 (0)