To install the Raspbian operating system follow the instructions. We recommend using a balenaEtcher to writing an image of a the Raspbian on the SD card
SD card must be at least 16 Gb
Insert the SD card into the Raspberry pi 3 and turn on the power. Make configuration settings for the Raspbian the first time you turn it on.
This section provides how to download and run pre-built Docker image without building the project.
TBD
There are two options for building a edge-orchestration container:
- On your PC and downloading the edge-orchestration container image from the
edge-orchestration.tar
archive (recommended). - Build directly on the Raspberry Pi 3 board.
Run the ./build.sh
script and specify the build parameters - container
, architecture - arm64
(in the case of building in protected mode, add secure
), see examples below:
$ ./build.sh container arm64
or for protected mode:
$ ./build.sh container secure arm64
the build result will be edge-orchestration.tar
archive that can be found GoMain/bin/edge-orchestration.tar
Next, need to copy edge-orchestration.tar
archive to the Paspberry Pi 3 board, install the docker container (see here only docker part) and load the image using the command:
$ docker load -i edge-orchestration.tar
The build is finished, how to run see here.
- docker
$ curl -sSL https://get.docker.com | sh
$ sudo usermod -aG docker $USER
$ newgrp docker
For execution of docker commands with non-root privileges you need to add
$USER
to docker group.
$ sudo usermod -aG docker $USER
- go compiler
$ sudo apt install golang
- glide
$ sudo apt install golang-glide
- edge-orchestration source code
$ git clone https://github.com/lf-edge/edge-home-orchestration-go.git
The build is descibed here.
The build is finished, how to run see here.