How to Build from Source#
This section shows how to build the Smart Route Planning Agent from source.
Building the Images#
To build the Docker image of the Smart Route Planning Agent:
Ensure you are in the project directory:
cd edge-ai-suites/metro-ai-suite/smart-route-planning-agent/src
Run the following
docker composecommand:docker compose build
Run the Application#
Run the application:
docker compose up
Ensure that the application is running by checking the container status:
docker psAccess the application by opening your web browser and navigate to
http://<host-ip>:7864, to view the dashboard UI.[OPTIONAL] To force a clean rebuild, run the following:
docker compose up --build
Note:
Ensure your
.envis configured, especiallyHOST_IP.