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.
 
 
 
 
zeus b9a3bc986c add docs 3 years ago
docs add docs 3 years ago
images add files 4 years ago
install add rcloca 3 years ago
Dockerfile add files 4 years ago
Dockerfile.build add files 4 years ago
LICENSE Initial commit 4 years ago
Makefile add 3 years ago
README.md add docs 3 years ago
check-open.sh add 3 years ago

README.md

Swarmlab is a collection of services that aims to

  • provide teachers and professors with online remote tools to do their lessons

  • give students the opportunity to study real life examples in their chosen area of expertise

  • allow developers to fully test and debug their applications and provide POC’s

  • or you simply want to use a Application (in a microservices-based architecture)

Swarmlab provides you with all the required tools, tools to teach work or try out demos in a completely virtual environment.

More info: http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab/docs/index.html

alt text

LabInstance nodejs

Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser. Node.js lets developers use JavaScript to write command line tools and for server-side scripting—running scripts server-side to produce dynamic web page content before the page is sent to the user's web browser. Consequently, Node.js represents a "JavaScript everywhere" paradigm, unifying web-application development around a single programming language, rather than different languages for server-side and client-side scripts.

Node.js has an event-driven architecture capable of asynchronous I/O. These design choices aim to optimize throughput and scalability in web applications with many input/output operations, as well as for real-time Web applications (e.g., real-time communication programs and browser games).

The Node.js distributed development project was previously governed by the Node.js Foundation, and has now merged with the JS Foundation to form the OpenJS Foundation, which is facilitated by the Linux Foundation's Collaborative Projects program

https://nodejs.org/en/

Quickstart

This is a quickstart guide of howto use this LabInstance

HowTo use it

Default Configuration

  • Working Directory

/home/docker/project

  • Default user

docker

  • Default password

docker

  • Default password4root

pass

Vue CLI Documentation

https://cli.vuejs.org/guide/creating-a-project.html#vue-create

Creating a Project

   vue create hello-world

Run it!

   npm run serve

Open it!

   http://localhost:8080

RUN INSTANCE

Swarmlab services can be run in different ways.

CLI

git clone ...

cd [DIRECTORY]

help

make help

create service

make create

start service

make start

stop service

make stop

list service

make list

clean service

make clean