diff --git a/README.md b/README.md index 715500b..7c29f31 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,7 @@ -### Welcome to Swarmlab.io - - -**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** - - - -#### **Ready-to-Use Virtual Labs one click away.** - +# Swarmlab Hybrid ### Table of contents @@ -21,29 +11,67 @@ 4. [Installation](#installation) 5. [More info](#moreinfo) -### Features +### +## Swarmlab Hybrid is the Swarmlabs younger, more tech savvy brother. + +Swarmlab hybrid provides the user with the unique abillity to create Labrooms (or other applications) and share them as project images expanding the simple swarmlab Labrooms to full-blown systems. An all of that using onlly the browser and the command line of their system. + +## Why? +Ever imagined having a normal lesson as you would in the University from the comfort of your livingroom? +Ever created a service that you would like to test on a real-world network? +Ever designed an Labroom/application you would like to distribute to your students/applications? +Swarmlab Hybrid comes to bridge the gap between tutor and student, the coder/developer of a service and the and user and at the same time meet the needs for a real-world testing environment. +With Hybrid we can now as part of the cloud work independantly but also stay connected. +The hybrid format allows us to utilize the power of Swarmlab itself but also combine it with the practiaclly unlimited computing of our own machines. + +## How? +How does Swarmlab Hybrid differ from Swarmlab? Well...its Swarmlab...just....HYBRID! +Easy enough right? But what does that mean in practice? +Well for us it means a couple million more lines of code. For you it means a few more installation steps and the newfound access to YOUR OWN RESOURCES! + +You will be connected to the Swarmlab Cloud (hence HYBRID) but you will be able to use your own storage(move files around, delete/copy etc),your own networking and computational power(cpu/graphics etc) and create a system exactly the way you need it. + +This way you will be able to : +- create images for testing. +- Run them using docker. +- Share them for others to use and develop. +- Finally browse the cloud for shared images to integrate into your project and make it even better. + +# + + + +## Swarmlab vs Swarmlab Hybrid in a nutshell + +### Swarmlab + +- Ready to use, on demand virtual labs +- Optimized for both Students and Tutors +- Tutors bootstrap their labrooms using our tools + +- Students can: + - join the created labrooms according to their interrests + - run the evailable labs at will + - create their own rooms for exercising + + +### Hybrid +- Create Labrooms/Applications +- Run and manage said rooms and application +- create once - scale up or down without rebuilding +- Connect multiple computers through a network. +- Move Labs between environments +- Create your own labs +- open source barebone -> Share them with your friends -**Share your exercises and content as a tutor and access it as student on demand** -> ##### On demand Labrooms -> -> * Ready to use virtual labs -> * Optimized for both Students and Tutors -> * Tutors bootstrap their labrooms using our tools -> * Students can join the created labrooms according to their interrests -> -> ##### Labroom hybrid -> -> * Run and manage applications -> * Scale up or down without rebuilding -> * Connect multiple computers through a network. -> * Move Labs between environments -> * Create your own labs -> +## IMPORTANT +:exclamation: If you wish to use the service in Hybrid mode, that is if you want to share, download or perform other activites on the cloud you will need a KEY. Read installation instructions to learn how to do that. +Local usage of the service doesnt require one, you only need to log in to your account. -### System requirements +## System requirements **Before** you create and configure a hybrid deployment using the swarmlab-agent client, your Local Machines need to meet certain requirements. @@ -53,7 +81,7 @@ - A Linux Server (Virtual or Physical) - - You must have super user privileges (sudo) + - You must have super user privileges (root/sudo) - Docker Engine- Community version 18 or later is required. - Docker Engine is supported on x86_64 (or amd64), armhf, and arm64 architectures. - RAM @@ -64,14 +92,14 @@ - Recommended 4+ - Disk Space - 10 GB for internal requirements. - - The amount of additional disk space required for load file staging, persistence, or backups depends on the size of the data to be loaded. + - The amount of additional disk space soloemnly depends on you intended use. -> Docker uses a hypervisor with a VM, and the host server must support virtualization. +:warning: Since Docker uses hyupervisor the host NEEDS TO HAVE VIRTUALIZATION ENABLED! -#### Prerequisites +## Prerequisites * node version >15 @@ -106,7 +134,7 @@ sudo apt install wireguard jq ``` -### Installation +## Installation

@@ -114,7 +142,7 @@ - Clone the repo ```sh - git clone https://git.swarmlab.io:3000/zeus/swarmlab-hybrid.git + git clone --recurse-submodules https://git.swarmlab.io:3000/zeus/swarmlab-hybrid.git ``` - Install it! @@ -136,7 +164,7 @@ You can find our docs in **docs** Directory The Swarmlab docs are in **AsciiDoc** (similar to markdown), **PDF** and **html** format -Asciidoc add-on can be found here: +For real-time rendering in browser Asciidoc an add-on can be found here: http://docs.swarmlab.io/SwarmLab-HowTos/labs/Howtos/doclive/asciidoc.adoc.html#_setup_live_preview_using_a_web_browser