Install and Run the Application
This section describes how to install your Hello World Application on the target system with all MICROSAR Adaptive runtime dependencies.
Step 1: Install the Application
-
Navigate to the directory of your application in the terminal:
cd "${APP_DIR}" -
Install the application:
bazel build //:installThe installation-ready package can now be found in the
<APP_DIR>/bazel-bin/installdirectory in your delivery.
Step 2: Run the Application
You can either run the application via Execution Manager or Bazel directly.
Run via Execution Manager
-
Navigate to the
installdirectory of your application in the terminal:cd "${APP_DIR}/bazel-bin/install" -
Run the application via Execution Manager:
sudo ./sbin/ves_em_daemon -a ./opt -m ./etc/machine_exec_config.json -l ./etc/logging_config.json -dYour application logged a log message (optionally adapted in the section Adapt the Application) to the terminal.