Browse Source

howto

master
zeus 4 years ago
parent
commit
26253599a3
  1. 58
      swarmlab/main.adoc
  2. 195
      swarmlab/main.adoc.html

58
swarmlab/main.adoc

@ -326,10 +326,6 @@ image::images/llo/llo-try.png[]
=== Create Learning Object Notebook
==== Main Options
image::images/llo/llo-create.png[]
@ -339,6 +335,7 @@ image::images/llo/llo-create.png[]
- *"Bootstrap LearningObjects"* - Create your LLO
- *"How to Contribute"*
==== Publish
.Creative Commons
[NOTE]
@ -351,7 +348,6 @@ Creative Commons is an international nonprofit that offers flexible copyright ma
====
==== Publish
image::images/llo/llo-publish.png[]
@ -359,6 +355,58 @@ image::images/llo/llo-publish.png[]
image::images/llo/llo-bootstrap.png[]
Learning Objects Notebooks Based on the following structure:
[source,yaml]
----
--- # Programming language
name: "test" // <1>
author: "zeus"
intro: "intro" // <2>
base_url: "https://git.swarmlab.io:3000/labs/examples-mpi2/raw/branch/master" // <3>
0_netstat: // <4>
display_name: "netstat" // <5>
swarmlabservice: "os2" // <6>
info:
file: "0_netstat/info" // <7>
code:
lang: "bash" // <8>
exec: "/bin/bash" // <9>
file: "0_netstat/code" // <10>
options: "" // <11>
mimetype: "bash" // <12>
output:
log: "console" // <13>
mimetype: "bash"
challenge: // <14>
question: "0_netstat/q-info"
codehelp: "0_netstat/codehelp"
codeanswer: "0_netstat/codeanswer"
mimetype: "bash"
points: "1" // <15>
output:
log: "ascii"
----
<1> LabLearningObject Name
<2> Here you can describe your LLO. Describe what students should know or be able to do at the end of the course that they couldn't do before!
<3> The ''base url'' field is the landing page of your LLO.
<4> Code spec
<5> Task Name
<6> A Swarmlab service is an dockerized microservice. It receives code snippets to execute, runs these code snippets, and returns the result and output of the execution.
<7> Task info. Here you can describe your Task
<8> Set the programming language!
<9> The full path of the executable
<10> Here you can add the code snippet to be executed. ( Using the ''Give It A Try'' option you can test your Code.)
<11> Exec Options
<12> Code block syntax highlighting
<13> Output: Console, file
<14> Challenge spec [Optional]
<15> Difficulty - 1 beginer, 2 intermediate, 3 advanced, 4 expert, 5 guru
== 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

195
swarmlab/main.adoc.html

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save