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.
58 lines
1.0 KiB
58 lines
1.0 KiB
= how-to-build-a-Swarmlab-service!
|
|
|
|
image::ROOT:swarmlab.png[swarmlab,150,float=right]
|
|
|
|
== Clone a example
|
|
|
|
[source,bash]
|
|
----
|
|
git clone https://git.swarmlab.io:3000/swarmlab/swarmlab-microservice-example.git
|
|
----
|
|
|
|
== Edit template
|
|
|
|
[source,bash]
|
|
----
|
|
install/usr/share/swarmlab.io/sec/swarmlab-gen.sh
|
|
----
|
|
|
|
== Generate
|
|
|
|
[source,bash]
|
|
----
|
|
./install/usr/share/swarmlab.io/sec/swarmlab-gen.sh
|
|
----
|
|
|
|
== create
|
|
|
|
[source,bash]
|
|
----
|
|
./install/usr/share/swarmlab.io/sec/swarmlab-sec create
|
|
----
|
|
|
|
== Start
|
|
|
|
[source,bash]
|
|
----
|
|
./install/usr/share/swarmlab.io/sec/swarmlab-sec up
|
|
----
|
|
|
|
== Stop
|
|
|
|
[source,bash]
|
|
----
|
|
./install/usr/share/swarmlab.io/sec/swarmlab-sec down
|
|
----
|
|
|
|
== git push
|
|
|
|
[source,bash]
|
|
----
|
|
git add .
|
|
git commit -m"info"
|
|
git push origin
|
|
----
|
|
|
|
|
|
|
|
|
|
|