Browse Source

new site 1

master
test2 5 years ago
parent
commit
507cac880b
  1. BIN
      1.png
  2. BIN
      Gitea-sign-in.png
  3. BIN
      Register-info.png
  4. BIN
      Register.png
  5. BIN
      RegisterMain.png
  6. BIN
      adhoc.png
  7. BIN
      android-chrome-192x192.png
  8. BIN
      api-login.png
  9. BIN
      gitea-register.png
  10. BIN
      lab-instancetmp.png
  11. BIN
      lab-select.png
  12. BIN
      labname.png
  13. BIN
      repo-clone.png
  14. BIN
      repo-create.png
  15. BIN
      repo.png
  16. BIN
      runinstance.png
  17. 1
      swarmlab/README.md
  18. 14
      swarmlab/files/help/faq.adoc
  19. 7
      swarmlab/files/help/git_help.adoc
  20. 32
      swarmlab/files/navigation/bootstrap.adoc
  21. 5
      swarmlab/files/navigation/dashboard.adoc
  22. 28
      swarmlab/files/navigation/lab_instances.adoc
  23. 42
      swarmlab/files/navigation/lab_rooms.adoc
  24. 27
      swarmlab/files/navigation/my_lab.adoc
  25. 19
      swarmlab/files/navigation/navigation_main.adoc
  26. 25
      swarmlab/files/registration/registration_main.adoc
  27. 32
      swarmlab/files/tutor/bootstrap_labroom.adoc
  28. 8
      swarmlab/files/tutor/for_tutors_main.adoc
  29. 14
      swarmlab/files/tutor/my_labrooms.adoc
  30. BIN
      swarmlab/images/bootstrap/bootstrap_main.png
  31. BIN
      swarmlab/images/bootstrap/plug_icon.png
  32. BIN
      swarmlab/images/bootstrap/save_lab_details.png
  33. BIN
      swarmlab/images/bootstrap/service_select.png
  34. BIN
      swarmlab/images/bootstrap/test_search_repo.png
  35. BIN
      swarmlab/images/for_tutors/bootstrap_details.png
  36. BIN
      swarmlab/images/for_tutors/bootstrap_labroom.png
  37. BIN
      swarmlab/images/for_tutors/info_icon.png
  38. BIN
      swarmlab/images/for_tutors/lab_instance_choose.png
  39. BIN
      swarmlab/images/for_tutors/my_labrooms.png
  40. BIN
      swarmlab/images/for_tutors/plug_icon.png
  41. BIN
      swarmlab/images/for_tutors/student_selection.png
  42. BIN
      swarmlab/images/for_tutors/timeframe_selection.png
  43. BIN
      swarmlab/images/for_tutors/todays_labrooms.png
  44. BIN
      swarmlab/images/for_tutors/trash_icon.png
  45. BIN
      swarmlab/images/registration/login.png
  46. BIN
      swarmlab/images/registration/login_main.png
  47. BIN
      swarmlab/images/registration/register_details.png
  48. BIN
      swarmlab/images/registration/swarm.jpeg
  49. BIN
      swarmlab/images/registration/terms.png
  50. BIN
      swarmlab/images/run/cloud_icon.png
  51. BIN
      swarmlab/images/run/console_button.png
  52. BIN
      swarmlab/images/run/empty_console.png
  53. BIN
      swarmlab/images/run/execution_screen-DESKTOP-VAQHDJ9.png
  54. BIN
      swarmlab/images/run/execution_screen.png
  55. BIN
      swarmlab/images/run/gui_button.png
  56. BIN
      swarmlab/images/run/info_icon.png
  57. BIN
      swarmlab/images/run/info_poppup.png
  58. BIN
      swarmlab/images/run/lab_instance_list.png
  59. BIN
      swarmlab/images/run/lab_room_list.png
  60. BIN
      swarmlab/images/run/ls_results_console.png
  61. BIN
      swarmlab/images/run/main_page.png
  62. BIN
      swarmlab/images/run/meeting_button.png
  63. BIN
      swarmlab/images/run/password_big.png
  64. BIN
      swarmlab/images/run/password_tutor_screen.png
  65. BIN
      swarmlab/images/run/password_user.png
  66. BIN
      swarmlab/images/run/trash_icon.png
  67. BIN
      swarmlab/logo_r3.png
  68. 27
      swarmlab/main.adoc

BIN
1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 KiB

BIN
Gitea-sign-in.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

BIN
Register-info.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

BIN
Register.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

BIN
RegisterMain.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 KiB

BIN
adhoc.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

BIN
android-chrome-192x192.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
api-login.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

BIN
gitea-register.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

BIN
lab-instancetmp.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

BIN
lab-select.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

BIN
labname.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

BIN
repo-clone.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

BIN
repo-create.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

BIN
repo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

BIN
runinstance.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

1
swarmlab/README.md

@ -0,0 +1 @@
# swarmlab

14
swarmlab/files/help/faq.adoc

@ -0,0 +1,14 @@
:description: Swarmlabs F.A.Q.!
:keywords: faq, question, git
:data-uri:
:toc: right
:toc-title:
:toclevels: 4
:source-highlighter: coderay
:icons: font
:sectnums:
= F.A.Q.
For any questions not addressed in this list please do not hesitate to contact our support team!
include::./git_help.adoc[]

7
swarmlab/files/help/git_help.adoc

@ -0,0 +1,7 @@
== Git
=== http://docs.swarmlab.io/SwarmLab-HowTos/HowTo-register.adoc.html[HowTo-register]
=== http://docs.swarmlab.io/SwarmLab-HowTos/HowTo-gitea.adoc.html[HowTo-create Repo]

32
swarmlab/files/navigation/bootstrap.adoc

@ -0,0 +1,32 @@
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'* ! +
= Bootstrap
image::{imagesdir}/bootstrap/bootstrap_main.png[]
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...
TIP: Every swarmlab lab instance resides in a git repo created inside link:https://git.swarmlab.io:3000[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. +
image::{imagesdir}/bootstrap/test_search_repo.png[]
If you dont have an acount and need help creating one please visit BALE TO LINK GIA TO GIT HOWTO. +
From that list we can now select the desired repository that we want to use by clicking on the plug icon. image:{imagesdir}/bootstrap/plug_icon.png[] +
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. +
image::{imagesdir}/bootstrap/service_select.png[]
Finally we have to save the lab instance by filling in the required info at the bottom. +
image::{imagesdir}/bootstrap/save_lab_details.png[]

5
swarmlab/files/navigation/dashboard.adoc

@ -0,0 +1,5 @@
The dashboard page is pretty straight forward: ::
. The left list shows all the available services and allows you to run them. +
. The other shows the available lab rooms and allows you to interact with them (p.e. subscribe). +

28
swarmlab/files/navigation/lab_instances.adoc

@ -0,0 +1,28 @@
==== 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 link:main.adoc#_bootstrap[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. +
image::{imagesdir}/run/lab_instance_list.png[]
After we have located the desired lab we can run it by using the cloud icon. image:{imagesdir}/run/cloud_icon.png[] +
To request more info about the lab we use the info icon image:{imagesdir}/run/info_icon.png[] and the trashcan image:{imagesdir}/run/trash_icon.png[] 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. +
image::{imagesdir}/run/execution_screen.png[]
Here we can use the command line on the bottom to execute the required commands. Our results will be visible in the console above. +
image::{imagesdir}/run/ls_results_console.png[]
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. +

42
swarmlab/files/navigation/lab_rooms.adoc

@ -0,0 +1,42 @@
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. +
image::{imagesdir}/run/lab_room_list.png[]
You can get more info about a specific labroom by clicking the info button image:{imagesdir}/run/info_icon.png[]. +
image::{imagesdir}/run/info_poppup.png[]
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 image:{imagesdir}/run/cloud_icon.png[]. +
You should see a screen as follows:
image::{imagesdir}/run/password_big.png[]
The passwords are randomly generated and you can use them to connect to your lesson (see picture bellow). +
image::{imagesdir}/run/password_user.png[]
If the tutor is sharing his screen you can watch by clicking on the according button and using the respective password. +
image::{imagesdir}/run/password_tutor_screen.png[]
Now, under the password area there are three other options: ::
'Meeting' image:{imagesdir}/run/meeting_button.png[]::
Here you can join a meeting with your group (this will redirect you to a jitsi implementation). +
For more visit https://jitsi.org/ +
'Gui' image:{imagesdir}/run/gui_button.png[]::
This loads a graphic unix environment.
'Console' image:{imagesdir}/run/console_button.png[]::
This loads a unix terminal.

27
swarmlab/files/navigation/my_lab.adoc

@ -0,0 +1,27 @@
With that out of the way lets enter the heart of our platform, 'my lab'! +
= My Lab
Nested under 'mylab' are both creation tools (bootstrap) and execution tools (run).
== The run menu
Inside the run menu there are three areas: ::
. 'Rub lab instance' +
. 'Enter lab room' +
. 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.
=== Run lab instance area
include::../.{sourcedir}/navigation/lab_instances.adoc[]
=== Enter lab room area
include::../.{sourcedir}/navigation/lab_rooms.adoc[]

19
swarmlab/files/navigation/navigation_main.adoc

@ -0,0 +1,19 @@
= The main page
Once loaded the main page should look like this:
image::{imagesdir}/run/main_page.png[]
On the left we can see that there are two areas inside swarmlab: ::
. the dashboard where our services live +
. the 'mylab' tab from which we can control our labrooms. +
include::../.{sourcedir}/navigation/dashboard.adoc[]
include::../.{sourcedir}/navigation/my_lab.adoc[]
include::../.{sourcedir}/navigation/bootstrap.adoc[]
//Now we are going to go through the processes of creating or joining a lab.
//include::../.{sourcedir}/navigation/create_lab.adoc[]

25
swarmlab/files/registration/registration_main.adoc

@ -0,0 +1,25 @@
= 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! +
image::{imagesdir}/registration/login.png[]
To register click on the 'login with sso' option and accept the terms. +
image::{imagesdir}/registration/terms.png[]
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! +
image::{imagesdir}/registration/login_main.png[]
Now fill in the required details +
image::{imagesdir}/registration/register_details.png[]
and follow the remaining instructions to activate your account. +
Now that your acount is ready, lets get to know Swarmlabs main page. +

32
swarmlab/files/tutor/bootstrap_labroom.adoc

@ -0,0 +1,32 @@
== '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: +
image::{imagesdir}/for_tutors/bootstrap_labroom.png[]
Here we can select the desired (existing!) lab instance that will be used to create the labroom using the plug icon image:{imagesdir}/for_tutors/plug_icon.png[]. +
image::{imagesdir}/for_tutors/lab_instance_choose.png[]
Then we have to specify starting date and time and also set the duration for which our lab room will be open. +
image::{imagesdir}/for_tutors/timeframe_selection.png[]
CAUTION: 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 (image:{imagesdir}/for_tutors/plug_icon.png[]) 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! +
image::{imagesdir}/for_tutors/student_selection.png[]
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!! +
image::{imagesdir}/for_tutors/bootstrap_details.png[]
Now we shall check and upon making shure that everything is right we click the 'bootstrap your lab' button!
WARNING: Bootstraping is final and no further edits are allowed!!

8
swarmlab/files/tutor/for_tutors_main.adoc

@ -0,0 +1,8 @@
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' +
include::../.{sourcedir}/tutor/my_labrooms.adoc[]
include::../.{sourcedir}/tutor/bootstrap_labroom.adoc[]

14
swarmlab/files/tutor/my_labrooms.adoc

@ -0,0 +1,14 @@
== 'My labrooms'
image::{imagesdir}/for_tutors/my_labrooms.png[]
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). +
image::{imagesdir}/for_tutors/todays_labrooms.png[]
We can also get info using the info icon image:{imagesdir}/for_tutors/info_icon.png[] or delete the labroom using the trashcan icon image:{imagesdir}/for_tutors/trash_icon.png[] . +
To search for a specific labroom we can use the searchbar at the top. +
IMPORTANT: The delete command is *FORCED* even if the labroom is running!!! +

BIN
swarmlab/images/bootstrap/bootstrap_main.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

BIN
swarmlab/images/bootstrap/plug_icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

BIN
swarmlab/images/bootstrap/save_lab_details.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
swarmlab/images/bootstrap/service_select.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

BIN
swarmlab/images/bootstrap/test_search_repo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

BIN
swarmlab/images/for_tutors/bootstrap_details.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
swarmlab/images/for_tutors/bootstrap_labroom.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

BIN
swarmlab/images/for_tutors/info_icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

BIN
swarmlab/images/for_tutors/lab_instance_choose.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
swarmlab/images/for_tutors/my_labrooms.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

BIN
swarmlab/images/for_tutors/plug_icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

BIN
swarmlab/images/for_tutors/student_selection.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
swarmlab/images/for_tutors/timeframe_selection.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
swarmlab/images/for_tutors/todays_labrooms.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
swarmlab/images/for_tutors/trash_icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
swarmlab/images/registration/login.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
swarmlab/images/registration/login_main.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
swarmlab/images/registration/register_details.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
swarmlab/images/registration/swarm.jpeg

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

BIN
swarmlab/images/registration/terms.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
swarmlab/images/run/cloud_icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
swarmlab/images/run/console_button.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

BIN
swarmlab/images/run/empty_console.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
swarmlab/images/run/execution_screen-DESKTOP-VAQHDJ9.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

BIN
swarmlab/images/run/execution_screen.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
swarmlab/images/run/gui_button.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

BIN
swarmlab/images/run/info_icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

BIN
swarmlab/images/run/info_poppup.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

BIN
swarmlab/images/run/lab_instance_list.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
swarmlab/images/run/lab_room_list.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
swarmlab/images/run/ls_results_console.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

BIN
swarmlab/images/run/main_page.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

BIN
swarmlab/images/run/meeting_button.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

BIN
swarmlab/images/run/password_big.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

BIN
swarmlab/images/run/password_tutor_screen.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
swarmlab/images/run/password_user.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
swarmlab/images/run/trash_icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
swarmlab/logo_r3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

27
swarmlab/main.adoc

@ -0,0 +1,27 @@
:description: Swarmlabs usage tool for students!
:keywords: Cloud, swarm
:data-uri:
:toc: right
:toc-title:
:toclevels: 4
:source-highlighter: coderay
:icons: font
:sectnums:
:sourcedir: ./files
:imagesdir: /images
include::{sourcedir}/init/intro.adoc[]
<<<
include::{sourcedir}/registration/registration_main.adoc[]
<<<
= The Swarmlabs Platform
include::{sourcedir}/navigation/navigation_main.adoc[]
<<<
= For Tutors
include::{sourcedir}/tutor/for_tutors_main.adoc[]
Loading…
Cancel
Save