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.
96 lines
2.0 KiB
96 lines
2.0 KiB
3 years ago
|
= LabInstance luajit!
|
||
|
|
||
|
|
||
|
== 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
|
||
|
|
||
|
LuaJIT is a Just-In-Time Compiler (JIT) for the Lua programming language. Lua is a powerful, dynamic and light-weight programming language. It may be embedded or used as a general-purpose, stand-alone language.
|
||
|
|
||
|
Lua (/ˈluːə/ LOO-ə; from Portuguese: lua [ˈlu.(w)ɐ] meaning moon)[a] is a lightweight, high-level, multi-paradigm programming language designed primarily for embedded use in applications. Lua is cross-platform, since the interpreter of compiled bytecode is written in ANSI C, and Lua has a relatively simple C API to embed it into applications.
|
||
|
|
||
|
Lua was originally designed in 1993 as a language for extending software applications to meet the increasing demand for customization at the time. It provided the basic facilities of most procedural programming languages, but more complicated or domain-specific features were not included; rather, it included mechanisms for extending the language, allowing programmers to implement such features. As Lua was intended to be a general embeddable extension language, the designers of Lua focused on improving its speed, portability, extensibility, and ease-of-use in development.
|
||
|
|
||
|
|
||
|
== More info
|
||
|
|
||
|
https://luajit.org/luajit.html[^]
|
||
|
|
||
|
https://www.lua.org/[^]
|
||
|
|
||
|
|
||
|
== 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
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|