Skip to content

Commit

Permalink
Adding missed step for setting input env var to fix the doc issue (#496)
Browse files Browse the repository at this point in the history
Signed-off-by: M Q <[email protected]>
  • Loading branch information
MMelQin committed Jul 2, 2024
1 parent 493c771 commit 9608cd7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/source/getting_started/tutorials/simple_app.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ pip install scikit-image, setuptools, Pillow, matplotlib
# See the input file exists in the default `input`` folder in the current working directory
ls examples/apps/simple_imaging_app/input/

# Set the environment variable for the input, with relative path in this example.
export HOLOSCAN_INPUT_PATH="./examples/apps/simple_imaging_app/input"

# Env var can also be used to direct the output instead of using the default folder as in the following steps
export HOLOSCAN_OUTPUT_PATH="./output_simple_imaging"

# Local execution of the app with output file in the `output` folder in the current working directory
python examples/apps/simple_imaging_app/app.py

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

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

# Check the output file
ls output
Expand Down

0 comments on commit 9608cd7

Please sign in to comment.