Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Creating your own hello world edge service

The following example uses a simple Hello World service to help you learn more about developing for Open Horizon (Open Horizon). With this example, you develop a single edge service that supports three hardware architectures and uses the Horizon development tools.

Before you begin

Complete the prerequisite steps in Preparing to create an edge service. As a result, these environment variables should be set, these commands should be installed, and these files should exist:

echo "HZN_ORG_ID=$HZN_ORG_ID, HZN_EXCHANGE_USER_AUTH=$HZN_EXCHANGE_USER_AUTH, DOCKER_HUB_ID=$DOCKER_HUB_ID"
which git jq make
ls ~/.hzn/keys/service.private.key ~/.hzn/keys/service.public.pem
cat /etc/default/horizon

Procedure

This example is part of the Open Horizon open-source project. Follow the steps in Building and Publishing Your Own Hello World Example Edge Service and then return here.

What to do next