X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=examples%2FREADME.md;fp=examples%2FREADME.md;h=10ed36feb371b794650f31a09925f6dcf13ca0a6;hb=01533e60cd85f4b9c99c7d1c50ad0ae259e32f5e;hp=1c1a6db42fa2ab57dfeae8e467ad0eb6fcc89062;hpb=09f2808db7ebdee15dac1cc0a29e5e463058aafb;p=ric-plt%2Fxapp-frame-py.git diff --git a/examples/README.md b/examples/README.md index 1c1a6db..10ed36f 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,5 +1,7 @@ # Python xapp frame +# Running locally + Running the two examples (adjust for your shell notation) pip install --user -e . @@ -7,3 +9,10 @@ Running the two examples (adjust for your shell notation) set -x LD_LIBRARY_PATH /usr/local/lib/:/usr/local/lib64; set -x RMR_SEED_RT test_route.rt; python pong_xapp.py (diff tmux window) set -x LD_LIBRARY_PATH /usr/local/lib/:/usr/local/lib64; set -x RMR_SEED_RT test_route.rt; python ping_xapp.py + +# Running in Docker + + docker build -t ping:latest -f Dockerfile-Ping . + docker build -t pong:latest -f Dockerfile-Pong . + docker run -i --net=host ping:latest + docker run -i --net=host pong:latest