Welcome to the vast world of Swarmlab!
Swarmlab is a powerful collaboration tool that connects tutors and students in a unique all-in-one environment that gets work done fast and easily.
In other words Swarmlab is the way to make your learning fun while at the same time getting to your goals faster!
But let’s get you started…​

Note: These instructions are general targeted at both students and tutors.
If you wish to skip to the specific instructions for tutors (lab creation, student invitation etc) click here.

"General info WILL NOT be repeated so if you have basic questions regarding registration or labroom usage please read on from here.

1. The first steps

Before you have all of the powerfull tools of Swarmalb at your grasp you will have to create an account.
To do that navigate to the home page at https://api-client.swarmlab.io:8088
You should have been greeted by our login screen!

login

To register click on the 'login with sso' option and accept the terms.

terms

Now you should be redirected to the login screen and you should be able to use the 'register' option at the bottom to make a new account!

login main

Now fill in the required details

register details

and follow the remaining instructions to activate your account.

Now that your acount is ready, lets get to know Swarmlabs main page.

2. Main Menou

2.1. The main page

Once loaded the main page should look like this:

main page
On the left we can see that there are two areas inside swarmlab:
  1. the dashboard where our services live

  2. the 'mylab' tab from which we can control our labrooms.

The dashboard page is pretty straight forward:
  1. The left list shows all the available services and allows you to run them.

  2. The other shows the available lab rooms and allows you to interact with them (p.e. subscribe).

With that out of the way lets enter the heart of our platform, 'my lab'!

2.2. My Lab

Nested under 'mylab' are both creation tools (bootstrap) and execution tools (run).

2.3. The run menu

Inside the run menu there are three areas:
  1. 'Rub lab instance'

  2. 'Enter lab room'

  3. the console

As the names suggest we can use the first to run one of our available lab instances, the second to enter a created labroom, and the third to execute scripts.
Lets look at the options one by one.
For the purpose of this walkthrough 'testmpi2' and 'test 18' were created.
Since the console is explained along with the first area we dont feel there is a need to have seperate walkthrough.

2.3.1. Run lab instance area

Creating a lab

To create a lab instance simply add a repo to your git!
You will then be able to locate that repo inside the instance list and run it.
For more info on this please refer to the Bootstrap chapter here !

Running a lab instance

First we have to select the lab we want to run. To find a specific lab we can use the search bar at the top.

lab instance list

After we have located the desired lab we can run it by using the cloud icon. cloud icon

To request more info about the lab we use the info icon info icon and the trashcan trash icon deletes the lab (forever).
Carefull, forever is a long time!

So lets go back to running the lab. After clicking on the according icon we should be redirected to the execution screen.

execution screen

Here we can use the command line on the bottom to execute the required commands. Our results will be visible in the console above.

ls results console

Note that you can choose to use the editor of your liking from the drop down menu.

For more complicated tasks that may require responsivines from the machine you can use the terminal option to open a full-blown unix command line.

2.3.2. Enter lab room area

This is the area where you will find the available labrooms created by tutors and join the desired one.

Browsing labrooms

You can easily browse throught the available labrooms in the list using the search bar at the top.

lab room list

You can get more info about a specific labroom by clicking the info button info icon.

info poppup

Active labrooms are indicated using a green color while closed ones with orange.

Entering a labroom

Once you have found the labroom you were looking for you can enter by simply clicking on the cloud icon cloud icon.

You should see a screen as follows:

password big

The passwords are randomly generated and you can use them to connect to your lesson (see picture bellow).

password user

If the tutor is sharing his screen you can watch by clicking on the according button and using the respective password.

password tutor screen
Now, under the password area there are three other options:
'Meeting' meeting button

Here you can join a meeting with your group (this will redirect you to a jitsi implementation).
For more visit https://jitsi.org/

'Gui' gui button

This loads a graphic unix environment.

'Console' console button

This loads a unix terminal.

By now it should propably be clear how to run a lab from the list or enter a labroom.
But you are propably wondering 'My list is empty how am i supposed to run labs from it?!'
Well here is where the final but most basic menu comes into play: 'Bootstrap' !

2.4. Bootstrap

bootstrap main

Here we can create and add labs to our list. To do so we have to go through a series of steps, but lets first understand some basic things about how swarmlab works…​

Every swarmlab lab instance resides in a git repo created inside our git and owned by the lab creator. This repo then serves as a 'home' for all the work inside that lab.
So for us to create and run a lab we have to link a service to a git repo.

Asuming we have an account (using the same email as our swarmlab account!) all our repos should be shown on the list in the top left corner.
To search for any public repo we can use the search bar.

test search repo

From that list we can now select the desired repository that we want to use by clicking on the plug icon. plug icon
We can use any repo we like, but we will be able to commit only to those that we have access to.
If we wish to edit or contribute to the development of a project we are not part of we can use the clone option as usual!

Now we have to select the service that our lab will be using. We just select the desired one from the list on the right and it will be automatically linked to the project.

service select

Finally we have to save the lab instance by filling in the required info at the bottom.

save lab details

3. Tutors Menou

Tutors have access to an extended 'my lab/bootstap' page where they can create labrooms from existing lab instances.

To do so we have to scroll all the way down whilst on the Bootstrap page.
There we should find two menus, 'My labrooms' and 'Bootstrap Labroom'

3.1. 'My labrooms'

my labrooms

Here we can see a list of all the labrooms programmed to run today. Again like in the run tab we can distinguish open from closed ones by color (green/orange).

todays labrooms

We can also get info using the info icon info icon or delete the labroom using the trashcan icon trash icon .
To search for a specific labroom we can use the searchbar at the top.

The delete command is FORCED even if the labroom is running!!!

3.2. 'Bootstrap Labroom'

Now lets see how we can bootstrap a new labroom using one of our lab instances.
To do that lets navigate to the respective tab that should look like this:

bootstrap labroom

Here we can select the desired (existing!) lab instance that will be used to create the labroom using the plug icon plug icon.

lab instance choose

Then we have to specify starting date and time and also set the duration for which our lab room will be open.

timeframe selection
You can only start a labroom every whole or half hour (p.e. 12.00 or 14.30) and never inbetween so please plan ahead!!

Also note that the duration cannot be greater than three hours since we consider that the maximum for any type of lesson!

Now using the searchbar that follows (you HAVE to search for students for them to come up) we search and select (plug icon) the students that we want to invite to the lesson.
Note that only students that have subscribed to our labroom will be available for invites to avoid confusion!

student selection

After selecting all the desired students we have to fill in the last details at the bottom of the page.
Please give concise titles and good descriptions to your labrooms!!

bootstrap details

Now we shall check and upon making shure that everything is right we click the 'bootstrap your lab' button!

Bootstraping is final and no further edits are allowed!!

4. Learning Objects Notebooks

A LO Notebook is a reusable web-based interactive chunks of e-learning designed to explain a stand-alone learning objective, which can be used, reused or referenced during technology supported learning.

Swarmlab.io Notebooks includes the following key characteristics:

  • Learning objects are a new way of thinking about learning content. Traditionally, content comes in a several hour chunk. Learning objects are much smaller units of learning, typically ranging from 2 minutes to 15 minutes.

  • Are self-contained – each learning object can be taken independently

  • Are reusable – a single learning object may be used in multiple contexts for multiple purposes

  • Can be aggregated – learning objects can be grouped into larger collections of content, including traditional course structures

  • Are tagged with metadata – every learning object has descriptive information allowing it to be easily found by a search

Learning Object Notebooks is:

"A digital self-contained and reusable entity, with a clear educational purpose, with at least three internal and editable components: content, learning activities and elements of context.".[1]
— IEEE
"learning object any entity, digital or non-digital, that may be used for learning, education or training".[2]
— Wikipedia

4.1. Run Learning Object Notebook

4.1.1. Find

llo

After we have located the desired LO we can

  • run it by using the cloud icon. cloud icon

  • To request more info about the lab we use the info icon info icon

4.1.2. Run

llo run
  • After we have Run the desired LO we can run "try it" by using the edit icon.

4.1.3. Try

llo try

4.2. Create Learning Object Notebook

4.2.1. Main Options

llo create
  • "My LabLearningObjects" - LLO Admin panel

  • "Publish LearningObjects" - Metadata and Publish your LLO

  • "Publish LearningObjects" - Metadata and Publish your LLO

  • "Bootstrap LearningObjects" - Create your LLO

  • "How to Contribute"

4.2.2. Publish

llo publish

4.2.3. Bootstrap

llo bootstrap

5. Get Involved

Swarmlab.io is a open source project born to support interactive Virtual Labs and interactive Learning Objects across all programming languages and systems. i

Swarmlab.io is open and welcoming to all.

And we need your help.

We invite anyone to come and participate in the creation of Swarmlab.io. Regardless of your skillset, we’re sure there is something you can add to our community and project.


1. Learning Technology Standards Committee (2002), Draft Standard for Learning Object Metadata. IEEE Standard 1484.12.1 (PDF), New York: Institute of Electrical and Electronics Engineers, retrieved 2008-04-29
2. https://en.wikipedia.org/wiki/Learning_object#Definitions