Edge Developer Toolbox Developer Guide

ID 783775
Date 06/07/2024
Version 24.05
Confidential
Document Table of Contents

Quick Start with a Reference Implementation in VS Code

From the Edge Developer Toolbox homepage, click Develop AI Application and click the Smart City Analytics application.

Screenshot showing the Develop AI Application section in the homepage

The Develop AI Application section in the homepage.

The overview page provides a comprehensive explanation of the architecture of the solution and how it works.

Screenshot showing the Smart City Analytics page

The Smart City Analytics page

Click on Edit in Visual Studio Code on the right of the page to open the application in VS Code*. This launches the IDE and imports the necessary solution files and the Helm chart* for the solution.

Install Extensions (Optional)

The VS Code editor includes pre-installed extensions for GitHub repositories, Docker* Image Build, and Helm package management to support solution development and collaboration. You can install additional extensions in your user space.

Build Application

To build this fully functional reference implementation, click on Image Build on the left edge of the screen. Provide the Dockerfile, Docker Context, Application Name, and a Tag.

For the Smart City Analytics solution, the relevant paths are provided below.

Dockerfile:

/workspace/ri/smart-city-analytics/scaevam/Dockerfile

Docker Context Path:

/workspace/ri/smart-city-analytics/scaevam

Click on Build Dockerfile to start a build.

Click on Build Dockerfile to start a build

Access the built image under My Workspace -> Applications.

Access the built image under My Workspace -> Applications

The Applications tab provides developers with the following functions, which can be accessed by clicking on the ellipsis button (three-dot button) under the Actions column:

  • View Build Logs: Access and analyze logs generated during the application build process.

  • Configure the Application: Modify application settings and parameters according to development needs.

  • Launch and Benchmark: Run the application on various Intel hardware and accelerators to evaluate performance.

  • Publish to Repository: Share the application with others by publishing it to a chosen repository.

Benchmark Application on Intel Hardware

Users can benchmark their solution by clicking Launch under Actions or by clicking Benchmark on Intel Hardware on the right of the Smart City Analytics description page.

Users can benchmark their solution by clicking Launch

Learn more about launching and benchmarking applications in the  Benchmark Hardware section.