You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

124 lines
3.2 KiB

3 years ago
3 years ago
<img align="right" width="300" height="300" src="https://git.swarmlab.io:3000/zeus/swarmlab-hybrid/raw/branch/master/docs/images/hybrid-1.png">
3 years ago
### Welcome to Swarmlab.io
3 years ago
3 years ago
3 years ago
**Swarmlab** is a powerful collaboration tool that connects tutors and students
3 years ago
3 years ago
**in a unique all-in-one environment that gets work done fast and easily**
3 years ago
3 years ago
#### **Ready-to-Use Virtual Labs one click away.**
3 years ago
3 years ago
### Table of contents
3 years ago
1. [Features](#introduction)
3 years ago
2. [System requirements ](#paragraph1)
3 years ago
1. [Sub paragraph](#subparagraph1)
3 years ago
3. [Installation](#paragraph2)
4. [More info](#paragraph2)
3 years ago
3 years ago
### Features <a name="introduction"></a>
3 years ago
3 years ago
3 years ago
**Share your exercises and content as a tutor and access it as student on demand**
3 years ago
3 years ago
> ##### On demand Labrooms
>
> * Optimized for both Students and Tutors
> * Tutors bootstrap their labrooms using our tools
> * Students can join the created labrooms according to their interrests
> * Following the lead of a cloud based world, we use git for tutors to create, distribute and run their lessons.
>
3 years ago
3 years ago
3 years ago
### System requirements <a name="paragraph1"></a>
3 years ago
**Before** you create and configure a hybrid deployment using the swarmlab-agent client, your Local Machines need to meet certain requirements.
> If you don't meet those requirements, you won't be able to complete the steps within the swarmlab-agent client and you won't be able to configure a hybrid deployment between your Local Enviroment and Swarmlab Online Enviroment.
3 years ago
- A Linux Server (Virtual or Physical)
- You must have super user privileges (sudo)
- Docker Engine- Community version 18 or later is required.
- Docker Engine is supported on x86_64 (or amd64), armhf, and arm64 architectures.
- RAM
- Absolute minimum to run the daemon and some very light containers - 512MB
- Minimum for “comfortable” usage – 2GB
3 years ago
- CPU
3 years ago
- Minimum: 2
- Recommended 4+
3 years ago
- Disk Space
3 years ago
- 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.
3 years ago
3 years ago
> Docker uses a hypervisor with a VM, and the host server must support virtualization.
3 years ago
3 years ago
3 years ago
#### Prerequisites <a name="subparagraph1"></a>
3 years ago
3 years ago
### Installation <a name="paragraph2"></a>
3 years ago
3 years ago
<br />
<p align="center">
<p align="center">
3 years ago
1. Register for a free online account
2. Clone the repo
3 years ago
```sh
git clone https://git.swarmlab.io:3000/zeus/swarmlab-hybrid.git
```
3 years ago
3. Install it!
3 years ago
```sh
cd swarmlab-hybrid
3 years ago
3 years ago
./install.sh
```
3 years ago
4. Open URL __http://localhost:3088__ in browser
5. Get a free API Key at **Settings->Enable the Swarmlab hybrid** Menu
3 years ago
1. Get a free API Key at [https://example.com](https://example.com)
2. Clone the repo
```sh
git clone https://git.swarmlab.io:3000/zeus/swarmlab-hybrid.git
```
3. Install it!
```sh
cd swarmlab-hybrid
./install.sh
```
4. Enter your API in `config.js`
```JS
const API_KEY = 'ENTER YOUR API';
```
3 years ago
</p>
</p>
3 years ago
3 years ago
### More Info <a name="paragraph2"></a>
3 years ago
3 years ago
You can find our docs in *docs* Directory
The Swarmlab docs are in AsciiDoc (similar to markdown), PDF and html format
3 years ago
3 years ago
Asciidoc add-on can be found here:
3 years ago
http://docs.swarmlab.io/SwarmLab-HowTos/labs/Howtos/doclive/asciidoc.adoc.html#_setup_live_preview_using_a_web_browser
3 years ago