diff options
-rw-r--r-- | README.md | 7 | ||||
-rw-r--r-- | src/appMain/start_external_proprietary.sh | 5 |
2 files changed, 10 insertions, 2 deletions
@@ -49,7 +49,7 @@ Once SDL Core is compiled and installed you can start it from the executable in ``` %cd bin/ -%LD_LIBRARY_PATH=. ./smartDeviceLinkCore +%./start.sh ``` ## Start WEB HMI @@ -73,6 +73,11 @@ The dependencies for SDL Core vary based on the configuration. You can change SD |Testing framework|Needed to support running unit tests|libgtest-dev| |Cmake|Needed to configure SDL prior to compilation|cmake| +#### Sample Policy Manager +The included sample policy manager (for use with `EXTERNAL_PROPRIETARY` policy mode) requires the following packages: + - python-pip + - python-dev + ### Known Dependency Issues * log4cxx - We know that the version of log4cxx on a linux machine can conflict with the one used, which is why it is provided in the repository. To avoid the conflict, we recommend removing liblog4cxx*. * cmake - on some versions of linux, the included cmake package doesn't have the right version. If apt-get is your package manager, you can find the correct version using diff --git a/src/appMain/start_external_proprietary.sh b/src/appMain/start_external_proprietary.sh index 1a0a350fe6..15ee2ecae5 100644 --- a/src/appMain/start_external_proprietary.sh +++ b/src/appMain/start_external_proprietary.sh @@ -1,9 +1,11 @@ #!/bin/bash -pip list | grep -F tornado +pip list | grep -F tornado > /dev/null if [ $? -eq 1 ] then + echo "Installing tornado python package" sudo pip install tornado fi +echo "Starting Policy Manager" python sample_policy_manager.py --pack_port 8088 --unpack_port 8089 --add_http_header --encryption & POLICY_MANAGER=$! @@ -15,4 +17,5 @@ function ctrl_c() { kill -9 $POLICY_MANAGER } +echo "Starting SmartDeviceLinkCore" LD_LIBRARY_PATH=. ./smartDeviceLinkCore |