diff --git a/auto-complete.sh b/auto-complete.sh index 225fc70..74d35c4 100755 --- a/auto-complete.sh +++ b/auto-complete.sh @@ -4,7 +4,7 @@ function libs() { if [ "$1" != "" ]; then - COMPREPLY=($(compgen -W "all xelatex-thesis infrastructure-as-code sidecar-firefox how-to-build-a-Swarmlab-service network-scanning network-adhoc raspi-docker tech-list faq sensor-node ssh-tunneling iptables poc-datacollector help" "${COMP_WORDS[$COMP_CWORD]}")) + COMPREPLY=($(compgen -W "all allmicroservices xelatex-thesis infrastructure-as-code sidecar-firefox how-to-build-a-Swarmlab-service network-scanning network-adhoc raspi-docker tech-list faq sensor-node ssh-tunneling iptables poc-datacollector help" "${COMP_WORDS[$COMP_CWORD]}")) fi } diff --git a/build.sh b/build.sh index 6f4bcf5..7e4807a 100755 --- a/build.sh +++ b/build.sh @@ -31,6 +31,8 @@ usage () echo "" echo -e " ${txtg}all:${NOCOLOR} All " echo "" + echo -e " ${txtg}allmicroservices:${NOCOLOR} All microservices " + echo "" echo -e " ${txtg}faq:${NOCOLOR} FAQ " echo "" echo -e " ${txtg}iptables:${NOCOLOR} This tutorial demonstrates, howto setup iptables & howto use it " @@ -93,6 +95,7 @@ docker pull hub.swarmlab.io:5480/antora if [ $docdir == 'all' ];then docker run -ti --name swarmlab-documentation -p 8080:8080 -v $PWD:/antora -v $PWD/supplemental-ui:/antora/supplemental-ui hub.swarmlab.io:5480/antora /bin/sh -c "DOCSEARCH_ENABLED=true DOCSEARCH_ENGINE=lunr DOCSEARCH_INDEX_VERSION=latest NODE_PATH=/usr/local/lib/node_modules:\$NODE_PATH exec sh -c '/antora/build-all.sh'" + else docker run -ti --name swarmlab-documentation -p 8080:8080 -v $PWD/$docdir:/antora -v $PWD/supplemental-ui:/antora/supplemental-ui hub.swarmlab.io:5480/antora /bin/sh -c "DOCSEARCH_ENABLED=true DOCSEARCH_ENGINE=lunr DOCSEARCH_INDEX_VERSION=latest NODE_PATH=/usr/local/lib/node_modules:\$NODE_PATH exec sh -c '/antora/run/$build'" fi @@ -155,6 +158,13 @@ do COMMAND_CREATE=1 ;; + allmicroservices) + DESC="allmicroservices" ; + build="build.sh" ; + docdir="info" ; + COMMAND_CREATE=1 + ;; + network-adhoc) DESC="network-adhoc" ; build="build.sh" ; diff --git a/info/antora.yml b/info/antora.yml new file mode 100644 index 0000000..ee54639 --- /dev/null +++ b/info/antora.yml @@ -0,0 +1,5 @@ + name: swarmlab_info + title: swarmlab_info + version: docs + nav: + - modules/ROOT/nav.adoc diff --git a/info/modules/ROOT/images/adhoc.png b/info/modules/ROOT/images/adhoc.png new file mode 100644 index 0000000..6256678 Binary files /dev/null and b/info/modules/ROOT/images/adhoc.png differ diff --git a/info/modules/ROOT/images/swarmlab.png b/info/modules/ROOT/images/swarmlab.png new file mode 100644 index 0000000..d94ea42 Binary files /dev/null and b/info/modules/ROOT/images/swarmlab.png differ diff --git a/info/modules/ROOT/images/up-1.png b/info/modules/ROOT/images/up-1.png new file mode 100644 index 0000000..1a3ee40 Binary files /dev/null and b/info/modules/ROOT/images/up-1.png differ diff --git a/info/modules/ROOT/images/up-2.png b/info/modules/ROOT/images/up-2.png new file mode 100644 index 0000000..43b8990 Binary files /dev/null and b/info/modules/ROOT/images/up-2.png differ diff --git a/info/modules/ROOT/images/up.png b/info/modules/ROOT/images/up.png new file mode 100644 index 0000000..f4db804 Binary files /dev/null and b/info/modules/ROOT/images/up.png differ diff --git a/info/modules/ROOT/nav.adoc b/info/modules/ROOT/nav.adoc new file mode 100644 index 0000000..ea948e9 --- /dev/null +++ b/info/modules/ROOT/nav.adoc @@ -0,0 +1 @@ +* xref:index.adoc[info] diff --git a/info/modules/ROOT/pages/index.adoc b/info/modules/ROOT/pages/index.adoc new file mode 100644 index 0000000..643fecf --- /dev/null +++ b/info/modules/ROOT/pages/index.adoc @@ -0,0 +1,18 @@ += INFO! + + +== HowTo + +[TIP] +==== + Accept self-signed certificate! + +self-signed certificates are good to go for testing purposes and for internal LAN-only services. + +When you use VENUS + +==== + + + + diff --git a/info/run/build-intro.sh b/info/run/build-intro.sh new file mode 100755 index 0000000..af181d8 --- /dev/null +++ b/info/run/build-intro.sh @@ -0,0 +1,4 @@ +antora --fetch /antora/site-intro.yml +antora /antora/site-intro.yml +ifconfig +http-server build/site -c-1 diff --git a/info/run/build.sh b/info/run/build.sh new file mode 100755 index 0000000..7122c21 --- /dev/null +++ b/info/run/build.sh @@ -0,0 +1,4 @@ +antora --fetch /antora/site.yml +antora /antora/site.yml +ifconfig +http-server build/site -c-1 diff --git a/info/site.yml b/info/site.yml new file mode 100644 index 0000000..b7279ac --- /dev/null +++ b/info/site.yml @@ -0,0 +1,25 @@ +site: + title: Swarmlab info + url: http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs + start_page: swarmlab_info::index.adoc +content: + sources: + - url: https://git.swarmlab.io:3000/docs/Documentation.git + branches: master + start_path: info + + - url: https://git.swarmlab.io:3000/swarmlab/microservice-xelatexthesis + branches: master + start_path: docs +ui: + bundle: + url: https://git.swarmlab.io:3000/docs/docs/raw/branch/master/ui-bundle.zip + snapshot: true + supplemental_files: ./supplemental-ui +asciidoc: + attributes: + :plantuml-server-url: http://www.plantuml.com/plantuml + extensions: + - '@djencks/asciidoctor-mathjax' + - asciidoctor-plantuml +