|
|
|
= Create SwarmLab Instance!
|
|
|
|
Apostolos rootApostolos@swarmlab.io
|
|
|
|
// Metadata:
|
|
|
|
:description: Εισαγωγή στο SwarmLab
|
|
|
|
:keywords: iot, swarm
|
|
|
|
:data-uri:
|
|
|
|
:toc: right
|
|
|
|
:toc-title: Πίνακας περιεχομένων
|
|
|
|
:toclevels: 4
|
|
|
|
:source-highlighter: highlight
|
|
|
|
:icons: font
|
|
|
|
:sectnums:
|
|
|
|
|
|
|
|
include::header.adoc[]
|
|
|
|
|
|
|
|
|
|
|
|
{empty} +
|
|
|
|
|
|
|
|
|
|
|
|
This HowTo teaches you how to Create SwarmLab Instance.
|
|
|
|
|
|
|
|
|
|
|
|
== Lab Instance
|
|
|
|
|
|
|
|
Open https://api-client.swarmlab.io:8088[Swarmlab api-client]
|
|
|
|
|
|
|
|
Use any web browser on your computer to join
|
|
|
|
|
|
|
|
|
|
|
|
=== create
|
|
|
|
|
|
|
|
.Click on "Sign-in"
|
|
|
|
image::./lab-instance.png[SwarmLab Creaate Lab]
|
|
|
|
|
|
|
|
==== Step 1 - select Git Repo
|
|
|
|
|
|
|
|
.Search iand Select Git Repo
|
|
|
|
image::./lab-instance-1.png[SwarmLab step 1]
|
|
|
|
|
|
|
|
==== Step 2 - Select Service
|
|
|
|
|
|
|
|
.Search and Select Lab Instance
|
|
|
|
image::./lab-instance-2.png[SwarmLab step 2]
|
|
|
|
|
|
|
|
|
|
|
|
==== Step 3 - Save LAb Instance
|
|
|
|
|
|
|
|
.Save Lab Instance
|
|
|
|
image::./lab-instance-3.png[SwarmLab step 3]
|
|
|
|
|
|
|
|
=== Run
|
|
|
|
|
|
|
|
.Run Lab Instance
|
|
|
|
image::./lab-run-1.png[SwarmLab Run Lab]
|
|
|
|
|
|
|
|
|
|
|
|
This will run the Selected Repo automatically
|
|
|
|
|
|
|
|
[NOTE]
|
|
|
|
====
|
|
|
|
If you see "false" in Console
|
|
|
|
Run It Again!!!
|
|
|
|
====
|
|
|
|
|
|
|
|
==== Run Ad-hoc Commands
|
|
|
|
|
|
|
|
You can also run Ad-hoc Commands or scripts
|
|
|
|
|
|
|
|
|
|
|
|
.Run Ad-hoc Commands
|
|
|
|
image::./lab-run-2.png[SwarmLab Run Ad-hoc]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
:hardbreaks:
|
|
|
|
|
|
|
|
{empty} +
|
|
|
|
{empty} +
|
|
|
|
{empty}
|
|
|
|
|
|
|
|
:!hardbreaks:
|
|
|
|
|
|
|
|
'''
|
|
|
|
|
|
|
|
.Reminder
|
|
|
|
[NOTE]
|
|
|
|
====
|
|
|
|
:hardbreaks:
|
|
|
|
Caminante, no hay camino,
|
|
|
|
se hace camino al andar.
|
|
|
|
|
|
|
|
Wanderer, there is no path,
|
|
|
|
the path is made by walking.
|
|
|
|
|
|
|
|
*Antonio Machado* Campos de Castilla
|
|
|
|
====
|