Swarmlab docs

Application development in a distributed system

Development of Distributed Systems from Design to Application


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.

59 lines
1.0 KiB

3 years ago
= how-to-build-a-Swarmlab-service!
3 years ago
image::ROOT:swarmlab.png[swarmlab,150,float=right]
3 years ago
== Clone a example
[source,bash]
----
3 years ago
git clone https://git.swarmlab.io:3000/swarmlab/swarmlab-microservice-example.git
----
3 years ago
== Edit template
[source,bash]
----
3 years ago
install/usr/share/swarmlab.io/sec/swarmlab-gen.sh
----
3 years ago
== Generate
[source,bash]
----
3 years ago
./install/usr/share/swarmlab.io/sec/swarmlab-gen.sh
----
3 years ago
== create
[source,bash]
----
3 years ago
./install/usr/share/swarmlab.io/sec/swarmlab-sec create
----
3 years ago
== Start
[source,bash]
----
3 years ago
./install/usr/share/swarmlab.io/sec/swarmlab-sec up
----
3 years ago
== Stop
[source,bash]
----
3 years ago
./install/usr/share/swarmlab.io/sec/swarmlab-sec down
----
3 years ago
== git push
[source,bash]
----
3 years ago
git add .
git commit -m"info"
git push origin
----