Code Review
/
ric-plt
/
xapp-frame-py.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Release ricxappframe 3.0.1
[ric-plt/xapp-frame-py.git]
/
examples
/
README.md
diff --git
a/examples/README.md
b/examples/README.md
index
6677a18
..
10ed36f
100644
(file)
--- a/
examples/README.md
+++ b/
examples/README.md
@@
-1,7
+1,18
@@
# Python xapp frame
# Python xapp frame
+# Running locally
+
Running the two examples (adjust for your shell notation)
Running the two examples (adjust for your shell notation)
+ pip install --user -e .
+ cd examples
set -x LD_LIBRARY_PATH /usr/local/lib/:/usr/local/lib64; set -x RMR_SEED_RT test_route.rt; python pong_xapp.py
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
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