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.
90 lines
1.4 KiB
90 lines
1.4 KiB
3 years ago
|
= LabInstance rust!
|
||
|
|
||
|
|
||
|
== Quickstart
|
||
|
|
||
|
This is a quickstart guide of howto use this *LabInstance*
|
||
|
|
||
|
=== Default Configuration
|
||
|
|
||
|
- Working Directory
|
||
|
|
||
|
> /home/docker/project
|
||
|
|
||
|
- Default user
|
||
|
|
||
|
> docker
|
||
|
|
||
|
- Default password
|
||
|
|
||
|
> docker
|
||
|
|
||
|
- Default password4root
|
||
|
|
||
|
> pass
|
||
|
|
||
|
|
||
|
== LabInstance Info
|
||
|
|
||
|
|
||
|
Rust is a multi-paradigm, general-purpose programming language designed for performance and safety, especially safe concurrency. Rust is syntactically similar to C++, but can guarantee memory safety by using a borrow checker to validate references. Rust achieves memory safety without garbage collection, and reference counting is optional. Rust has been called a systems programming language and in addition to high-level features such as functional programming it also offers mechanisms for low-level memory management.
|
||
|
|
||
|
== More info
|
||
|
|
||
|
https://www.rust-lang.org/community[^]
|
||
|
|
||
|
|
||
|
== RUN INSTANCE
|
||
|
|
||
|
Swarmlab services can be run in different ways.
|
||
|
|
||
|
- You can run them **through the swarmlab hybrid environment** (http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab/docs/hybrid/start-microservices.html)
|
||
|
- or use them individually at will on the **command line of your system**
|
||
|
|
||
|
|
||
|
=== 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
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|