Prepare Your System For Development; Install And Configure Leaf Workspace Manager; Linux Only) Install Leaf Workspace Manager - mangOH Red Getting Started Manual

Non-octave
Hide thumbs Also See for Red:
Table of Contents

Advertisement

A: Prepare Your System For Development
Now that your mangOH Red is ready for use, prepare your development system to work with it using Sierra
Wireless' Leaf development workspace manager, which is designed to create and manage your mangOH
development environment.
A.1 Install and Configure Leaf Workspace Manager
Leaf is pre-installed on the mangOH VM. If you will be developing on a native Linux system, you will have to install
it yourself
((Linux only) Install Leaf Workspace
A.1.1 (Linux only) Install Leaf Workspace Manager
The Leaf installation process automatically downloads, installs and configures all necessary components for the
development environment.
To install Leaf on your development machine:
1. Download Leaf into a temporary folder (e.g. "/tmp" in this example):
$ wget https://downloads.sierrawireless.com/tools/leaf/leaf_latest.deb -O
/tmp/leaf_latest.deb
2. Install Leaf.
$ sudo apt install /tmp/leaf_latest.deb
3. Configure Leaf to add mangOH Git remotes, which enable Leaf to search for mangOH targets. (This only
needs to be done once, the configuration is persistent.)
In the following command, replace <alias_red> and <alia_yellow> with meaningful names:
$ leaf remote add <alias_red> https://downloads.sierrawireless.com/man-
gOH/leaf/mangOH-red.json --insecure
$ leaf remote add <alias_yellow> https://downloads.sierrawireless.com/man-
gOH/leaf/mangOH-yellow.json --insecure
$ leaf remote add mangoh_red https://downloads.sierrawireless.com/mangOH/leaf/mangOH-red.json --
insecure
$ leaf remote add mangoh_yellow https://downloads.sierrawireless.com/mangOH/leaf/mangOH-yellow.json
--insecure
Note: The download connection is secured via TLS (Transport Layer Security). The "--insecure" option in this command
simply tells Leaf not to use GPG (GNU Privacy Guard) to verify downloaded files. This is intentional.
Rev 1 2020-03-01
Manager).
27
A
41113734

Advertisement

Table of Contents
loading

Table of Contents