Create an Application

Clone public hello world git repository

The DCH hello-world application demos the basic features of applications and can be found at a public repository here.

See details about how to clone a repository, but below you will find the command line option.

git clone https://bitbucket.csiro.au/scm/sbdch/dch-hello-world-application.git

Getting started

Now that you have the project, we first need to get you started on getting the hello-world assembly code to run locally.

Prerequisites

Setup python

The DCH hello world application uses python. The most recent image for the operator uses version 3.9. Install python 3.9 for your platform. We do not have any opinion about how to install python, but a good place to start is https://docs.anaconda.com/miniconda/miniconda-install/ or https://www.python.org/downloads/.

Setup poetry

The example code uses poetry to manage dependencies. To get started with the dch hello world application you need to install poetry.

Install requirements

Once poetry is installed, you use poetry to install the dependencies.

poetry install

Run assembly script

poetry run python assemble.py

Last updated