Browse Source

add docs

master
zeus 3 years ago
parent
commit
118cf375c3
  1. 24
      README.md
  2. 6
      docs/antora.yml
  3. 5
      docs/build.sh
  4. 96
      docs/build/site/404.html
  5. 115
      docs/build/site/_/css/search.css
  6. 3
      docs/build/site/_/css/site.css
  7. BIN
      docs/build/site/_/font/roboto-latin-400.woff
  8. BIN
      docs/build/site/_/font/roboto-latin-400.woff2
  9. BIN
      docs/build/site/_/font/roboto-latin-400italic.woff
  10. BIN
      docs/build/site/_/font/roboto-latin-400italic.woff2
  11. BIN
      docs/build/site/_/font/roboto-latin-500.woff
  12. BIN
      docs/build/site/_/font/roboto-latin-500.woff2
  13. BIN
      docs/build/site/_/font/roboto-latin-500italic.woff
  14. BIN
      docs/build/site/_/font/roboto-latin-500italic.woff2
  15. BIN
      docs/build/site/_/font/roboto-mono-latin-400.woff
  16. BIN
      docs/build/site/_/font/roboto-mono-latin-400.woff2
  17. BIN
      docs/build/site/_/font/roboto-mono-latin-500.woff
  18. BIN
      docs/build/site/_/font/roboto-mono-latin-500.woff2
  19. 1
      docs/build/site/_/img/back.svg
  20. 1
      docs/build/site/_/img/caret.svg
  21. 1
      docs/build/site/_/img/chevron.svg
  22. 1
      docs/build/site/_/img/home-o.svg
  23. 1
      docs/build/site/_/img/home.svg
  24. 1
      docs/build/site/_/img/menu.svg
  25. 1
      docs/build/site/_/img/octicons-16.svg
  26. 6
      docs/build/site/_/js/site.js
  27. 1
      docs/build/site/_/js/vendor/highlight.js
  28. 1
      docs/build/site/_/js/vendor/lunr.js
  29. 1
      docs/build/site/_/js/vendor/search.js
  30. 9
      docs/build/site/index.html
  31. 1
      docs/build/site/search-index.js
  32. 7
      docs/build/site/sitemap.xml
  33. BIN
      docs/build/site/swarmlab_microservice-xelatexthesis/docs/_images/adhoc.png
  34. BIN
      docs/build/site/swarmlab_microservice-xelatexthesis/docs/_images/swarmlab.png
  35. BIN
      docs/build/site/swarmlab_microservice-xelatexthesis/docs/_images/trafic.png
  36. BIN
      docs/build/site/swarmlab_microservice-xelatexthesis/docs/_images/vehigle.png
  37. 487
      docs/build/site/swarmlab_microservice-xelatexthesis/docs/index.html
  38. BIN
      docs/build/site/swarmlab_sidecar-firefox/docs/_images/adhoc.png
  39. BIN
      docs/build/site/swarmlab_sidecar-firefox/docs/_images/swarmlab.png
  40. BIN
      docs/build/site/swarmlab_sidecar-firefox/docs/_images/trafic.png
  41. BIN
      docs/build/site/swarmlab_sidecar-firefox/docs/_images/vehigle.png
  42. 187
      docs/build/site/swarmlab_sidecar-firefox/docs/index.html
  43. 79
      docs/init-docs.sh
  44. BIN
      docs/modules/ROOT/images/adhoc.png
  45. BIN
      docs/modules/ROOT/images/swarmlab.png
  46. BIN
      docs/modules/ROOT/images/trafic.png
  47. BIN
      docs/modules/ROOT/images/vehigle.png
  48. 1
      docs/modules/ROOT/nav.adoc
  49. 126
      docs/modules/ROOT/pages/index.adoc
  50. 4
      docs/run/build-intro.sh
  51. 4
      docs/run/build.sh
  52. 20
      docs/site.yml

24
README.md

@ -20,6 +20,30 @@
## LabInstance mongoexpress ## LabInstance mongoexpress
Web-based MongoDB admin interface written with Node.js, Express and Bootstrap3
Web-based MongoDB admin interface written with Node.js, Express and Bootstrap3
Features
* Connect to multiple databases
* View/add/delete databases
* View/add/rename/delete collections
* View/add/update/delete documents
* Preview audio/video/image assets inline in collection view
* Nested and/or large objects are collapsible for easy overview
* Async on-demand loading of big document properties (>100KB default) to keep collection view fast
* GridFS support - add/get/delete incredibly large files
* Use BSON data types in documents
* Mobile / Responsive - Bootstrap 3 works passably on small screens when you're in a bind
* Connect and authenticate to individual databases
* Authenticate as admin to view all databases
* Database blacklist/whitelist
* Custom CA and CA validation disabling
* Supports replica sets
https://github.com/mongo-express/mongo-express
## Quickstart ## Quickstart

6
docs/antora.yml

@ -0,0 +1,6 @@
name: swarmlab_microservice-mongoexpress
title: swarmlab_microservice-mongoexpress
version: docs
nav:
- modules/ROOT/nav.adoc

5
docs/build.sh

@ -0,0 +1,5 @@
docker stop swarmlab-documentation
docker container rm swarmlab-documentation
docker pull hub.swarmlab.io:5480/antora
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/run/build.sh'"

96
docs/build/site/404.html

@ -0,0 +1,96 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Page Not Found :: Swarmlab microservice-xelatexthesis</title>
<meta name="generator" content="Antora 2.3.4">
<link rel="stylesheet" href="/SwarmLab-HowTos/swarmlab/docs/_/css/site.css">
<link rel="stylesheet" href="/SwarmLab-HowTos/swarmlab/docs/_/css/search.css">
<script>var uiRootPath = '/SwarmLab-HowTos/swarmlab/docs/_'</script>
</head>
<body class="status-404">
<header class="header">
<nav class="navbar">
<div class="navbar-brand">
<a class="navbar-item" href="http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs">Swarmlab microservice-xelatexthesis</a>
<button class="navbar-burger" data-target="topbar-nav">
<span></span>
<span></span>
<span></span>
</button>
</div>
<div id="topbar-nav" class="navbar-menu">
<div class="navbar-end">
<a class="navbar-item" href="#">Home</a>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="#">Products</a>
<div class="navbar-dropdown">
<a class="navbar-item" target ="hybridgit" href="https://git.swarmlab.io:3000/zeus/swarmlab-hybrid">Hybrid</a>
<a class="navbar-item" target ="venusgit" href="https://git.swarmlab.io:3000/swarmlab/venus-client">Venus</a>
</div>
</div>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="#">Services</a>
<div class="navbar-dropdown">
<a class="navbar-item" target ="hybrid" href="https://api-client.swarmlab.io:8088/">Hybrid</a>
<a class="navbar-item" target ="venus" href="https://api-client.swarmlab.io:8088/">Venus</a>
</div>
</div>
<div class="navbar-item">
<input id="search-input" type="text" placeholder="Search docs">
</div>
</div>
</div>
</nav>
</header>
<div class="body">
<div class="nav-container">
<aside class="nav">
<div class="panels">
<div class="nav-panel-explore is-active" data-panel="explore">
<ul class="components">
<li class="component">
<a class="title" href="/SwarmLab-HowTos/swarmlab/docs/swarmlab_microservice-xelatexthesis/docs/index.html">swarmlab_microservice-xelatexthesis</a>
<ul class="versions">
<li class="version is-latest">
<a href="/SwarmLab-HowTos/swarmlab/docs/swarmlab_microservice-xelatexthesis/docs/index.html">docs</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</aside>
</div>
<main class="article">
<div class="toolbar" role="navigation">
<button class="nav-toggle"></button>
<a href="/SwarmLab-HowTos/swarmlab/docs/swarmlab_microservice-xelatexthesis/docs/index.html" class="home-link"></a>
<nav class="breadcrumbs" aria-label="breadcrumbs">
</nav>
</div>
<div class="content">
<article class="doc">
<h1 class="page">Page Not Found</h1>
<div class="paragraph">
<p>The page you&#8217;re looking for does not exist. It may have been moved. You can return to the <a href="/swarmlab_microservice-xelatexthesis/docs/index.html">start page</a>, or follow one of the links in the navigation to the left.</p>
</div>
<div class="paragraph">
<p>If you arrived on this page by clicking on a link, please notify the owner of the site that the link is broken.
If you typed the URL of this page manually, please double check that you entered the address correctly.</p>
</div>
</article>
</div>
</main>
</div>
<footer class="footer">
<p>This page was built using the Antora <a href="https://gitlab.com/antora/antora-ui-default" target="antora">default UI</a> </p>
</footer>
<script src="/SwarmLab-HowTos/swarmlab/docs/_/js/site.js"></script>
<script src="/SwarmLab-HowTos/swarmlab/docs/_/js/vendor/lunr.js"></script>
<script src="/SwarmLab-HowTos/swarmlab/docs/_/js/vendor/search.js" id="search-script" data-base-path="/SwarmLab-HowTos/swarmlab/docs" data-page-path=""></script>
<script async src="/SwarmLab-HowTos/swarmlab/docs/_/../search-index.js"></script>
<script async src="/SwarmLab-HowTos/swarmlab/docs/_/js/vendor/highlight.js"></script>
</body>
</html>

115
docs/build/site/_/css/search.css

@ -0,0 +1,115 @@
.navbar-brand .navbar-item + .navbar-item {
flex-grow: 1;
justify-content: flex-end;
}
@media screen and (min-width: 1024px) {
.navbar-brand {
flex-grow: 1;
}
.navbar-menu {
flex-grow: 0;
}
}
#search-input {
color: #333;
font-family: inherit;
font-size: 0.95rem;
width: 150px;
border: 1px solid #dbdbdb;
border-radius: 0.1em;
line-height: 1.5;
padding: 0 0.25em;
}
@media screen and (min-width: 769px) {
#search-input {
width: 200px;
}
}
.search-result-dropdown-menu {
position: absolute;
z-index: 100;
display: block;
right: 0;
left: inherit;
top: 100%;
border-radius: 4px;
margin: 6px 0 0;
padding: 0;
text-align: left;
height: auto;
background: transparent;
border: none;
max-width: 600px;
min-width: 500px;
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.2), 0 2px 3px 0 rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 768px) {
.navbar-brand .navbar-item + .navbar-item {
padding-left: 0;
padding-right: 0;
}
.search-result-dropdown-menu {
min-width: calc(100vw - 3.75rem);
}
}
.search-result-dataset {
position: relative;
border: 1px solid #d9d9d9;
background: #fff;
border-radius: 4px;
overflow: auto;
padding: 0 8px 8px;
max-height: calc(100vh - 5.25rem);
color: #333;
}
.search-result-highlight {
color: #174d8c;
background: rgba(143, 187, 237, 0.1);
padding: .1em .05em;
}
.search-result-item {
display: flex;
font-size: 1rem;
margin-bottom: 0.5rem;
margin-top: 0.5rem;
}
.search-result-document-title {
width: 33%;
border-right: 1px solid #ddd;
color: #a4a7ae;
font-size: 0.8rem;
padding: 0.25rem 0.5rem 0.25rem 0;
text-align: right;
position: relative;
word-wrap: break-word;
}
.search-result-document-hit {
flex: 1;
font-size: 0.75em;
color: #02060c;
font-weight: 700;
}
.search-result-document-hit > a {
color: inherit;
display: block;
padding: 0.5rem 0 0.5rem 1rem;
margin-bottom: 0.25rem;
}
.search-result-document-hit > a:hover {
background-color: rgba(69, 142, 225, 0.05);
}

3
docs/build/site/_/css/site.css

File diff suppressed because one or more lines are too long

BIN
docs/build/site/_/font/roboto-latin-400.woff

Binary file not shown.

BIN
docs/build/site/_/font/roboto-latin-400.woff2

Binary file not shown.

BIN
docs/build/site/_/font/roboto-latin-400italic.woff

Binary file not shown.

BIN
docs/build/site/_/font/roboto-latin-400italic.woff2

Binary file not shown.

BIN
docs/build/site/_/font/roboto-latin-500.woff

Binary file not shown.

BIN
docs/build/site/_/font/roboto-latin-500.woff2

Binary file not shown.

BIN
docs/build/site/_/font/roboto-latin-500italic.woff

Binary file not shown.

BIN
docs/build/site/_/font/roboto-latin-500italic.woff2

Binary file not shown.

BIN
docs/build/site/_/font/roboto-mono-latin-400.woff

Binary file not shown.

BIN
docs/build/site/_/font/roboto-mono-latin-400.woff2

Binary file not shown.

BIN
docs/build/site/_/font/roboto-mono-latin-500.woff

Binary file not shown.

BIN
docs/build/site/_/font/roboto-mono-latin-500.woff2

Binary file not shown.

1
docs/build/site/_/img/back.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M50.001 9.9L9.9 50 50 90.1l5.656-5.655-30.435-30.442H90.1v-8.006H25.222l30.435-30.44z"/></svg>

After

Width:  |  Height:  |  Size: 190 B

1
docs/build/site/_/img/caret.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"><path d="M10.187 3l14 12-14 12z" fill="#c1c1c1" stroke="#c1c1c1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>

After

Width:  |  Height:  |  Size: 219 B

1
docs/build/site/_/img/chevron.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"><path d="M3.67 6.59L1.455 8.615 15 23.375l13.545-14.76L26.33 6.59 15 18.76z" fill="#5d5d5d"/></svg>

After

Width:  |  Height:  |  Size: 182 B

1
docs/build/site/_/img/home-o.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><g fill="none" stroke="#222" stroke-width="4"><path d="M50.02 13.576l-28.58 25.54-.02 47.345h21.506l.025-25.166H57.05l.025 25.166H78.62l.02-47.31-28.62-25.575z"/><path d="M63.815 25.904v-9.217h8.657V33.64zM21.439 39.116l-9.982 8.92m77.125 0l-9.943-8.885"/></g></svg>

After

Width:  |  Height:  |  Size: 328 B

1
docs/build/site/_/img/home.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><g stroke="#222" stroke-width="4"><path d="M50.02 13.576l-28.58 25.54-.02 47.345h21.506l.025-25.166H57.05l.025 25.166H78.62l.02-47.31-28.62-25.575z" fill="#222" fill-rule="evenodd"/><path d="M63.815 25.904v-9.217h8.657V33.64z" fill="#222" fill-rule="evenodd"/><path d="M21.439 39.116l-9.982 8.92m77.125 0l-9.943-8.885" fill="none"/></g></svg>

After

Width:  |  Height:  |  Size: 404 B

1
docs/build/site/_/img/menu.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M35 19.772h55" fill="none" stroke="#222" stroke-width="8" stroke-opacity=".941"/><path fill="#222" d="M10 12.272h15v15H10z"/><path d="M43 63.678h45" fill="none" stroke="#222" stroke-width="5" stroke-opacity=".941"/><path fill="#222" d="M23 58.677h10v10H23z"/><path d="M43 82.727h45" fill="none" stroke="#222" stroke-width="5" stroke-opacity=".941"/><path fill="#222" d="M23 77.727h10v10H23z"/><path d="M43 44.628h45" fill="none" stroke="#222" stroke-width="5" stroke-opacity=".941"/><path fill="#222" d="M23 39.628h10v10H23z"/></svg>

After

Width:  |  Height:  |  Size: 604 B

1
docs/build/site/_/img/octicons-16.svg

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><desc>Octicons v11.2.0 by GitHub - https://primer.style/octicons/ - License: MIT</desc><symbol id="icon-clippy" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M5.75 1a.75.75 0 00-.75.75v3c0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75v-3a.75.75 0 00-.75-.75h-4.5zm.75 3V2.5h3V4h-3zm-2.874-.467a.75.75 0 00-.752-1.298A1.75 1.75 0 002 3.75v9.5c0 .966.784 1.75 1.75 1.75h8.5A1.75 1.75 0 0014 13.25v-9.5a1.75 1.75 0 00-.874-1.515.75.75 0 10-.752 1.298.25.25 0 01.126.217v9.5a.25.25 0 01-.25.25h-8.5a.25.25 0 01-.25-.25v-9.5a.25.25 0 01.126-.217z"/></symbol><use href="#icon-clippy" width="16" height="16"/><view id="view-clippy" viewBox="0 0 16 16"/></svg>

After

Width:  |  Height:  |  Size: 710 B

6
docs/build/site/_/js/site.js

@ -0,0 +1,6 @@
!function(){"use strict";var o=/^sect(\d)$/,i=document.querySelector(".nav-container"),a=document.querySelector(".nav-toggle");a.addEventListener("click",function(e){if(a.classList.contains("is-active"))return u(e);v(e);var t=document.documentElement;t.classList.add("is-clipped--nav"),a.classList.add("is-active"),i.classList.add("is-active");var n=c.getBoundingClientRect(),e=window.innerHeight-Math.round(n.top);Math.round(n.height)!==e&&(c.style.height=e+"px");t.addEventListener("click",u)}),i.addEventListener("click",v);var c,r,s,l=i.querySelector("[data-panel=menu]");function e(){var e,t,n=window.location.hash;if(n&&(n.indexOf("%")&&(n=decodeURIComponent(n)),!(e=l.querySelector('.nav-link[href="'+n+'"]')))){n=document.getElementById(n.slice(1));if(n)for(var i=n,a=document.querySelector("article.doc");(i=i.parentNode)&&i!==a;){var c=i.id;if(!c&&(c=o.test(i.className))&&(c=(i.firstElementChild||{}).id),c&&(e=l.querySelector('.nav-link[href="#'+c+'"]')))break}}if(e)t=e.parentNode;else{if(!s)return;e=(t=s).querySelector(".nav-link")}t!==r&&(h(l,".nav-item.is-active").forEach(function(e){e.classList.remove("is-active","is-current-path","is-current-page")}),t.classList.add("is-current-page"),d(r=t),p(l,e))}function d(e){for(var t,n=e.parentNode;!(t=n.classList).contains("nav-menu");)"LI"===n.tagName&&t.contains("nav-item")&&t.add("is-active","is-current-path"),n=n.parentNode;e.classList.add("is-active")}function n(){var e,t,n,i;this.classList.toggle("is-active")&&(e=parseFloat(window.getComputedStyle(this).marginTop),t=this.getBoundingClientRect(),n=l.getBoundingClientRect(),0<(i=(t.bottom-n.top-n.height+e).toFixed())&&(l.scrollTop+=Math.min((t.top-n.top-e).toFixed(),i)))}function u(e){v(e);e=document.documentElement;e.classList.remove("is-clipped--nav"),a.classList.remove("is-active"),i.classList.remove("is-active"),e.removeEventListener("click",u)}function v(e){e.stopPropagation()}function p(e,t){var n=e.getBoundingClientRect(),i=n.height,a=window.getComputedStyle(c);"sticky"===a.position&&(i-=n.top-parseFloat(a.top)),e.scrollTop=Math.max(0,.5*(t.getBoundingClientRect().height-i)+t.offsetTop)}function h(e,t){return[].slice.call(e.querySelectorAll(t))}l&&(c=i.querySelector(".nav"),r=l.querySelector(".is-current-page"),(s=r)?(d(r),p(l,r.querySelector(".nav-link"))):l.scrollTop=0,h(l,".nav-item-toggle").forEach(function(e){var t=e.parentElement;e.addEventListener("click",n.bind(t));e=function(e,t){e=e.nextElementSibling;return(!e||!t||e[e.matches?"matches":"msMatchesSelector"](t))&&e}(e,".nav-text");e&&(e.style.cursor="pointer",e.addEventListener("click",n.bind(t)))}),c.querySelector("[data-panel=explore] .context").addEventListener("click",function(){h(c,"[data-panel]").forEach(function(e){e.classList.toggle("is-active")})}),l.addEventListener("mousedown",function(e){1<e.detail&&e.preventDefault()}),l.querySelector('.nav-link[href^="#"]')&&(window.location.hash&&e(),window.addEventListener("hashchange",e)))}();
!function(){"use strict";var e=document.querySelector("aside.toc.sidebar");if(e){if(document.querySelector("body.-toc"))return e.parentNode.removeChild(e);var t=parseInt(e.dataset.levels||2,10);if(!(t<0)){for(var o="article.doc",d=document.querySelector(o),n=[],i=0;i<=t;i++){var r=[o];if(i){for(var a=1;a<=i;a++)r.push((2===a?".sectionbody>":"")+".sect"+a);r.push("h"+(i+1)+"[id]")}else r.push("h1[id].sect0");n.push(r.join(">"))}var c,s=(m=n.join(","),f=d.parentNode,[].slice.call((f||document).querySelectorAll(m)));if(!s.length)return e.parentNode.removeChild(e);var l={},u=s.reduce(function(e,t){var o=document.createElement("a");o.textContent=t.textContent,l[o.href="#"+t.id]=o;var n=document.createElement("li");return n.dataset.level=parseInt(t.nodeName.slice(1),10)-1,n.appendChild(o),e.appendChild(n),e},document.createElement("ul")),f=e.querySelector(".toc-menu");f||((f=document.createElement("div")).className="toc-menu");var m=document.createElement("h3");m.textContent=e.dataset.title||"Contents",f.appendChild(m),f.appendChild(u);e=!document.getElementById("toc")&&d.querySelector("h1.page ~ :not(.is-before-toc)");e&&((m=document.createElement("aside")).className="toc embedded",m.appendChild(f.cloneNode(!0)),e.parentNode.insertBefore(m,e)),window.addEventListener("load",function(){p(),window.addEventListener("scroll",p)})}}function p(){var t,e=window.pageYOffset,o=1.15*v(document.documentElement,"fontSize"),n=d.offsetTop;if(e&&window.innerHeight+e+2>=document.documentElement.scrollHeight){c=Array.isArray(c)?c:Array(c||0);var i=[],r=s.length-1;return s.forEach(function(e,t){var o="#"+e.id;t===r||e.getBoundingClientRect().top+v(e,"paddingTop")>n?(i.push(o),c.indexOf(o)<0&&l[o].classList.add("is-active")):~c.indexOf(o)&&l[c.shift()].classList.remove("is-active")}),u.scrollTop=u.scrollHeight-u.offsetHeight,void(c=1<i.length?i:i[0])}Array.isArray(c)&&(c.forEach(function(e){l[e].classList.remove("is-active")}),c=void 0),s.some(function(e){return e.getBoundingClientRect().top+v(e,"paddingTop")-o>n||void(t="#"+e.id)}),t?t!==c&&(c&&l[c].classList.remove("is-active"),(e=l[t]).classList.add("is-active"),u.scrollHeight>u.offsetHeight&&(u.scrollTop=Math.max(0,e.offsetTop+e.offsetHeight-u.offsetHeight)),c=t):c&&(l[c].classList.remove("is-active"),c=void 0)}function v(e,t){return parseFloat(window.getComputedStyle(e)[t])}}();
!function(){"use strict";var o=document.querySelector("article.doc"),t=document.querySelector(".toolbar");function i(e){return e&&(~e.indexOf("%")?decodeURIComponent(e):e).slice(1)}function r(e){if(e){if(e.altKey||e.ctrlKey)return;window.location.hash="#"+this.id,e.preventDefault()}window.scrollTo(0,function e(t,n){return o.contains(t)?e(t.offsetParent,t.offsetTop+n):n}(this,0)-t.getBoundingClientRect().bottom)}window.addEventListener("load",function e(t){var n,o;(n=i(window.location.hash))&&(o=document.getElementById(n))&&(r.bind(o)(),setTimeout(r.bind(o),0)),window.removeEventListener("load",e)}),Array.prototype.slice.call(document.querySelectorAll('a[href^="#"]')).forEach(function(e){var t,n;(t=i(e.hash))&&(n=document.getElementById(t))&&e.addEventListener("click",r.bind(n))})}();
!function(){"use strict";var t,e=document.querySelector(".page-versions .version-menu-toggle");e&&(t=document.querySelector(".page-versions"),e.addEventListener("click",function(e){t.classList.toggle("is-active"),e.stopPropagation()}),document.documentElement.addEventListener("click",function(){t.classList.remove("is-active")}))}();
!function(){"use strict";var t=document.querySelector(".navbar-burger");t&&t.addEventListener("click",function(t){t.stopPropagation(),document.documentElement.classList.toggle("is-clipped--navbar"),this.classList.toggle("is-active");var e=document.getElementById(this.dataset.target);e.classList.toggle("is-active")&&(e.style.maxHeight="",t=window.innerHeight-Math.round(e.getBoundingClientRect().top),parseInt(window.getComputedStyle(e).maxHeight,10)!==t&&(e.style.maxHeight=t+"px"))}.bind(t))}();
!function(){"use strict";var s=/^\$ (\S[^\\\n]*(\\\n(?!\$ )[^\\\n]*)*)(?=\n|$)/gm,l=/( ) *\\\n *|\\\n( ?) */g,d=/ +$/gm,r=(document.getElementById("site-script")||{dataset:{}}).dataset;[].slice.call(document.querySelectorAll(".doc pre.highlight, .doc .literalblock pre")).forEach(function(e){var t,n,c,i,a;if(e.classList.contains("highlight"))(c=(t=e.querySelector("code")).dataset.lang)&&"console"!==c&&((i=document.createElement("span")).className="source-lang",i.appendChild(document.createTextNode(c)));else{if(!e.innerText.startsWith("$ "))return;var o=e.parentNode.parentNode;o.classList.remove("literalblock"),o.classList.add("listingblock"),e.classList.add("highlightjs","highlight"),(t=document.createElement("code")).className="language-console hljs",t.dataset.lang="console",t.appendChild(e.firstChild),e.appendChild(t)}(c=document.createElement("div")).className="source-toolbox",i&&c.appendChild(i),window.navigator.clipboard&&((n=document.createElement("button")).className="copy-button",n.setAttribute("title","Copy to clipboard"),"svg"===r.svgAs?((o=document.createElementNS("http://www.w3.org/2000/svg","svg")).setAttribute("class","copy-icon"),(i=document.createElementNS("http://www.w3.org/2000/svg","use")).setAttribute("href",window.uiRootPath+"/img/octicons-16.svg#icon-clippy"),o.appendChild(i),n.appendChild(o)):((a=document.createElement("img")).src=window.uiRootPath+"/img/octicons-16.svg#view-clippy",a.alt="copy icon",a.className="copy-icon",n.appendChild(a)),(a=document.createElement("span")).className="copy-toast",a.appendChild(document.createTextNode("Copied!")),n.appendChild(a),c.appendChild(n)),e.appendChild(c),n&&n.addEventListener("click",function(e){var t=e.innerText.replace(d,"");"console"===e.dataset.lang&&t.startsWith("$ ")&&(t=function(e){var t,n=[];for(;t=s.exec(e);)n.push(t[1].replace(l,"$1$2"));return n.join(" && ")}(t));window.navigator.clipboard.writeText(t).then(function(){this.classList.add("clicked"),this.offsetHeight,this.classList.remove("clicked")}.bind(this),function(){})}.bind(n,t))})}();

1
docs/build/site/_/js/vendor/highlight.js

File diff suppressed because one or more lines are too long

1
docs/build/site/_/js/vendor/lunr.js

File diff suppressed because one or more lines are too long

1
docs/build/site/_/js/vendor/search.js

@ -0,0 +1 @@
window.antoraLunr=function(n){var e=document.getElementById("search-script").dataset;const d=e.basePath;e.pagePath;var u=document.getElementById("search-input"),i=document.createElement("div");function a(e,t,n){var r,s=[];for(r in e){var a,d=e[r];for(a in d){var u=d[a];u.position&&(u=u.position[0],"title"===a?s=function(t,e,n){var r,s=[],a=n[0],d=n[1],u=document.createElement("span");return u.classList.add("search-result-highlight"),r=t?e.titles.filter(function(e){return e.id===t})[0].text:e.title,u.innerText=r.substr(a,d),n=a+d,e=r.length-1,0===a&&n===e?s.push(u):0===a?(s.push(u),s.push(document.createTextNode(r.substr(d,e)))):n===e?(s.push(document.createTextNode(r.substr(0,a))),s.push(u)):(s.push(document.createTextNode(r.substr(0,a))),s.push(u),s.push(document.createTextNode(r.substr(n,e)))),s}(t,n,u):"text"===a&&(s=function(e,t){var n=[],r=t[0],s=t[1],a=e.text,d=document.createElement("span");d.classList.add("search-result-highlight"),d.innerText=a.substr(r,s);var u=r+s,e=(t=a.length-1)<u+15?t:u+15,s=r-15<0?0:r-15;return 0===r&&u===t?n.push(d):0===r?(n.push(d),n.push(document.createTextNode(a.substr(u,e)))):u===t?(n.push(document.createTextNode(a.substr(0,r))),n.push(d)):(n.push(document.createTextNode("..."+a.substr(s,r-s))),n.push(d),n.push(document.createTextNode(a.substr(u,e-u)+"..."))),n}(n,u)))}}return s}function c(e,r,s){e.forEach(function(e){var t=e.ref;t.includes("#")&&(n=t.substring(t.indexOf("#")+1),t=t.replace("#"+n,""));var t=r[t],n=a(e.matchData.metadata,n,t);s.appendChild(function(e,t,n){var r=document.createElement("div");r.classList.add("search-result-document-title"),r.innerText=e.title;var s=document.createElement("div");s.classList.add("search-result-document-hit");var a=document.createElement("a"),e=d;a.href=e+t.ref,s.appendChild(a),n.forEach(function(e){a.appendChild(e)});n=document.createElement("div");return n.classList.add("search-result-item"),n.appendChild(r),n.appendChild(s),n.addEventListener("mousedown",function(e){e.preventDefault()}),n}(t,e,n))})}function o(e,t,n){for(;i.firstChild;)i.removeChild(i.firstChild);var r,s;""!==n.trim()&&(s=n,s=0<(e=(r=e).search(s)).length||0<(e=r.search(s+"*")).length?e:e=r.search("*"+s+"*"),(e=document.createElement("div")).classList.add("search-result-dataset"),i.appendChild(e),0<s.length?c(s,t,e):e.appendChild(function(e){var t=document.createElement("div");t.classList.add("search-result-item");var n=document.createElement("div");n.classList.add("search-result-document-hit");var r=document.createElement("strong");return r.innerText='No results found for query "'+e+'"',n.appendChild(r),t.appendChild(n),t}(n)))}return i.classList.add("search-result-dropdown-menu"),u.parentNode.appendChild(i),{init:function(e){var r,s,a,d,t=Object.assign({index:n.Index.load(e.index),store:e.store}),e=(r=function(){o(t.index,t.store,u.value)},s=100,function(){var e=this,t=arguments,n=a&&!d;clearTimeout(d),d=setTimeout(function(){d=null,a||r.apply(e,t)},s),n&&r.apply(e,t)});u.addEventListener("keydown",e),u.addEventListener("keydown",function(e){"Escape"===e.key&&(u.value="")}),u.addEventListener("blur",function(e){for(;i.firstChild;)i.removeChild(i.firstChild)})}}}(window.lunr);

9
docs/build/site/index.html

@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="canonical" href="http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab_microservice-xelatexthesis/docs/index.html">
<script>location="swarmlab_microservice-xelatexthesis/docs/index.html"</script>
<meta http-equiv="refresh" content="0; url=swarmlab_microservice-xelatexthesis/docs/index.html">
<meta name="robots" content="noindex">
<title>Redirect Notice</title>
<h1>Redirect Notice</h1>
<p>The page you requested has been relocated to <a href="swarmlab_microservice-xelatexthesis/docs/index.html">http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab_microservice-xelatexthesis/docs/index.html</a>.</p>

1
docs/build/site/search-index.js

File diff suppressed because one or more lines are too long

7
docs/build/site/sitemap.xml

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab_microservice-xelatexthesis/docs/index.html</loc>
<lastmod>2022-02-19T20:13:46.712Z</lastmod>
</url>
</urlset>

BIN
docs/build/site/swarmlab_microservice-xelatexthesis/docs/_images/adhoc.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

BIN
docs/build/site/swarmlab_microservice-xelatexthesis/docs/_images/swarmlab.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
docs/build/site/swarmlab_microservice-xelatexthesis/docs/_images/trafic.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

BIN
docs/build/site/swarmlab_microservice-xelatexthesis/docs/_images/vehigle.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

487
docs/build/site/swarmlab_microservice-xelatexthesis/docs/index.html

@ -0,0 +1,487 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>LabInstance xelatexthesis! :: Swarmlab microservice-xelatexthesis</title>
<link rel="canonical" href="http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab_microservice-xelatexthesis/docs/index.html">
<meta name="generator" content="Antora 2.3.4">
<link rel="stylesheet" href="../../_/css/site.css">
<link rel="stylesheet" href="../../_/css/search.css">
<script>var uiRootPath = '../../_'</script>
</head>
<body class="article">
<header class="header">
<nav class="navbar">
<div class="navbar-brand">
<a class="navbar-item" href="http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs">Swarmlab microservice-xelatexthesis</a>
<button class="navbar-burger" data-target="topbar-nav">
<span></span>
<span></span>
<span></span>
</button>
</div>
<div id="topbar-nav" class="navbar-menu">
<div class="navbar-end">
<a class="navbar-item" href="#">Home</a>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="#">Products</a>
<div class="navbar-dropdown">
<a class="navbar-item" target ="hybridgit" href="https://git.swarmlab.io:3000/zeus/swarmlab-hybrid">Hybrid</a>
<a class="navbar-item" target ="venusgit" href="https://git.swarmlab.io:3000/swarmlab/venus-client">Venus</a>
</div>
</div>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="#">Services</a>
<div class="navbar-dropdown">
<a class="navbar-item" target ="hybrid" href="https://api-client.swarmlab.io:8088/">Hybrid</a>
<a class="navbar-item" target ="venus" href="https://api-client.swarmlab.io:8088/">Venus</a>
</div>
</div>
<div class="navbar-item">
<input id="search-input" type="text" placeholder="Search docs">
</div>
</div>
</div>
</nav>
</header>
<div class="body">
<div class="nav-container" data-component="swarmlab_microservice-xelatexthesis" data-version="docs">
<aside class="nav">
<div class="panels">
<div class="nav-panel-menu is-active" data-panel="menu">
<nav class="nav-menu">
<h3 class="title"><a href="index.html">swarmlab_microservice-xelatexthesis</a></h3>
<ul class="nav-list">
<li class="nav-item" data-depth="0">
<ul class="nav-list">
<li class="nav-item is-current-page" data-depth="1">
<a class="nav-link" href="index.html">xelatexthesis</a>
</li>
</ul>
</li>
</ul>
</nav>
</div>
<div class="nav-panel-explore" data-panel="explore">
<div class="context">
<span class="title">swarmlab_microservice-xelatexthesis</span>
<span class="version">docs</span>
</div>
<ul class="components">
<li class="component is-current">
<a class="title" href="index.html">swarmlab_microservice-xelatexthesis</a>
<ul class="versions">
<li class="version is-current is-latest">
<a href="index.html">docs</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</aside>
</div>
<main class="article">
<div class="toolbar" role="navigation">
<button class="nav-toggle"></button>
<a href="index.html" class="home-link is-current"></a>
<nav class="breadcrumbs" aria-label="breadcrumbs">
<ul>
<li><a href="index.html">swarmlab_microservice-xelatexthesis</a></li>
<li><a href="index.html">xelatexthesis</a></li>
</ul>
</nav>
</div>
<div class="content">
<aside class="toc sidebar" data-title="Contents" data-levels="2">
<div class="toc-menu"></div>
</aside>
<article class="doc">
<h1 class="page">LabInstance xelatexthesis!</h1>
<div class="sect1">
<h2 id="_quickstart"><a class="anchor" href="#_quickstart"></a>Quickstart</h2>
<div class="sectionbody">
<div class="paragraph">
<p>This is a quickstart guide of howto use this <strong>LabInstance xelatex thesis</strong></p>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-sh hljs" data-lang="sh">Click on openGui
Read info
- or -
https://github.com/zachscrivena/simple-thesis-dissertation</code></pre>
</div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_howto_use_it"><a class="anchor" href="#_howto_use_it"></a>HowTo use it</h2>
<div class="sectionbody">
<div class="literalblock">
<div class="content">
<pre>(1) Edit /home/main.tex</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>(2) Compile LaTeX document</pre>
</div>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-sh hljs" data-lang="sh">Click on openGui
It will compile the tex document and automatically update the PDF</code></pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>(3) Downloading your finished document</pre>
</div>
</div>
<div class="sect2">
<h3 id="_default_configuration"><a class="anchor" href="#_default_configuration"></a>Default Configuration</h3>
<div class="ulist">
<ul>
<li>
<p>Working Directory</p>
</li>
</ul>
</div>
<div class="quoteblock">
<blockquote>
<div class="paragraph">
<p>/home</p>
</div>
</blockquote>
</div>
<div class="ulist">
<ul>
<li>
<p>Default user</p>
</li>
</ul>
</div>
<div class="quoteblock">
<blockquote>
<div class="paragraph">
<p>docker</p>
</div>
</blockquote>
</div>
<div class="ulist">
<ul>
<li>
<p>Default password</p>
</li>
</ul>
</div>
<div class="quoteblock">
<blockquote>
<div class="paragraph">
<p>docker</p>
</div>
</blockquote>
</div>
<div class="ulist">
<ul>
<li>
<p>Default password4root</p>
</li>
</ul>
</div>
<div class="quoteblock">
<blockquote>
<div class="paragraph">
<p>pass</p>
</div>
</blockquote>
</div>
</div>
<div class="sect2">
<h3 id="_default_xelatex_main_file"><a class="anchor" href="#_default_xelatex_main_file"></a>Default xeLatex main file</h3>
<div class="quoteblock">
<blockquote>
<div class="paragraph">
<p>/home/main.tex</p>
</div>
</blockquote>
</div>
</div>
<div class="sect2">
<h3 id="_backup_xelatex_src_files"><a class="anchor" href="#_backup_xelatex_src_files"></a>Backup xeLatex src files</h3>
<div class="quoteblock">
<blockquote>
<div class="paragraph">
<p>See More Options</p>
</div>
</blockquote>
</div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_reasons_why_you_must_should_and_should_not_use_latex"><a class="anchor" href="#_reasons_why_you_must_should_and_should_not_use_latex"></a>Reasons why you must, should, and should not use LaTeX</h2>
<div class="sectionbody">
<div class="paragraph">
<p>If you have to write down a document you will run your default text processor (probably MS Word) not even considering any other option. This processor probably fulfills all your needs. I would say that 95% of users out there have no idea what is <strong>LaTeX.</strong> And this is perfectly fine. However, it is a pity. Because LaTeX is one of the most successful and amazing free software projects ever done. It has been around for more than thirty years with two Turing awarded researchers directly participating in its design and implementation. LaTeX must have something special. Hopefully, after reading this post you will consider giving it a try.</p>
</div>
<div class="paragraph">
<p>I will not showcase how to use LaTeX because there is a lot of wonderful tutorials around. I will only enumerate when you <strong>MUST, SHOULD, and SHOULD NOT use LaTeX.</strong></p>
</div>
<div class="sect2">
<h3 id="_a_bit_of_history"><a class="anchor" href="#_a_bit_of_history"></a>A bit of history</h3>
<div class="paragraph">
<p><strong>Donald Knuth</strong> (Turing Award 1974) published his first edition of The Art of Computer Programming in 1968 when he was thirty. By then, books were printed using monotype settings. Knuth was happy with the final print. However, the second edition in 1976 had to be typeset again because the original fonts were no longer available. When Knuth received the galley proofs he was disappointed. He found them inferior.</p>
</div>
<div class="paragraph">
<p>He committed himself to design his typesetting system. We are talking about the late seventies, when digital typesetting itself was a problem to be solved. Steve Jobs himself contributed to this topic. Knuth planned to spend his sabbatical year in 1978 to finish the project. He underestimated the complexity of the task. The final solution was not ready until 1989! Knuth called this language TeX with each letter a capital Greek letters tau τ, epsilon ε and chi χ. TeX is the abbreviation for τέχνη (techne) which means “art” and “craft”. Knuth has always insisted that you should pronounce it /tɛk/.</p>
</div>
<div class="paragraph">
<p>When <strong>Leslie Lamport</strong> (Turing Award 2013) started using Knuth’s TeX he started writing some macros for his own purposes. LaTeX is simply LAmport’s TeX, a collection of macros on top of TeX to make it easier. And this is the main collection we have today.
What can I do with LaTeX?</p>
</div>
<div class="paragraph">
<p>With LaTeX you can have a high quality typesetting (the best I would say) document with a low effort and no money. With no money because it is free. And with no effort. Yes with no effort. This claim is huge. EVERYBODY can get professional results writing plain text and using markups with a software that is free and can run virtually everywhere. That is why LaTeX is the standard in academia and engineering.</p>
</div>
<div class="paragraph">
<p>This sounds fantastic… but as you can expect from the title of this article there are some drawbacks. The main one is the learning curve. LaTeX is not a WYSIWYG (What You See Is What You Get) solution and requires a learning period. Let me give you some guidelines about when you MUST, SHOULD and SHOULD NOT use it. Of course all this comes from my point of view and experience after using LaTeX for more than 15 years.</p>
</div>
</div>
<div class="sect2">
<h3 id="_when_you_must_use_latex"><a class="anchor" href="#_when_you_must_use_latex"></a>When you MUST use LaTeX?</h3>
<div class="ulist">
<ul>
<li>
<p>You are in academia, particularly in any STEM discipline. In this scenario manuscripts are everything. Content is really important and requires a tremendous amount of work. In the case of Ph.D. manuscripts, you MUST consider spending some time learning LaTeX to make the difference in your final outcome. I have seen Ph.D. manuscripts written in MS Word and I have to say that somehow (for me) it diminishes the value of the manuscript.</p>
</li>
<li>
<p>You work with abundant bibliography. Professional works may manage hundreds of citations. Citations must have a consistent format, otherwise your bibliography section will be a mess. To save time, you must go with LaTex + BibTeX. Fill your BibTex file with your citation entries, tag them, and use the tag in your latex document as a reference. The compiler will do the rest of the work. I know there are plugins and solutions for MS Word and other text processors. But remember, for thirty years, this problem has been solved with plain text. And from my experience, these plugins result cumbersome.</p>
</li>
<li>
<p>You are using formulas.</p>
</li>
<li>
<p>You expect figures using the best quality possible. Formats such as SVG cannot be available for your text processor. With LaTeX, you can generate PDF documents with embedded SVG figures. Not many solutions around can offer something like this.</p>
</li>
<li>
<p>You want a free solution.</p>
</li>
<li>
<p>You want it to be forward compatible. LaTeX has been around for more than thirty years. We can typeset old documents and see how they were intended to be.</p>
</li>
<li>
<p>One entry point, several output formats. Because LaTeX is a typesetting system, you can get outputs in DVI, PDF, HTML, XML, etc. with a single document.</p>
</li>
<li>
<p>Forget about the document layout. LaTeX is somehow like HTML + CSS. Once you define the document structure, you use a markup language, and the compiler will make everything coherent for you. No more paragraphs separated with double spacing instead of a single space.</p>
</li>
</ul>
</div>
</div>
<div class="sect2">
<h3 id="_when_you_should_use_latex"><a class="anchor" href="#_when_you_should_use_latex"></a>When you SHOULD use LaTeX?</h3>
<div class="ulist">
<ul>
<li>
<p>You are new to LaTeX, you have to start a new project and you are looking for all the advantages that it offers.</p>
</li>
<li>
<p>You want your documents to stand out among others. And you will. LaTeX outcomes have a distinguishing quality everybody appreciates.</p>
</li>
<li>
<p>You are considering writing a book, article, or manuscript and maybe self-publish it. This is a common situation nowadays with the adoption of platforms such as Amazon Self Publishing. With LaTeX, you can go from your raw text to a high quality .epub, .mobi ebook file.</p>
</li>
</ul>
</div>
</div>
<div class="sect2">
<h3 id="_when_you_should_not_use_latex"><a class="anchor" href="#_when_you_should_not_use_latex"></a>When you SHOULD NOT use LaTeX?</h3>
<div class="ulist">
<ul>
<li>
<p>Your document is already written in another format. The content is probably easy to be moved to LaTeX. However, the document’s layout could be hard to get.</p>
</li>
<li>
<p>You are doing collaborative work, and you are the only LaTeX practitioner. Do not move into LaTeX. Do not even consider it. My experience says that after starting a shared LaTeX project, your colleagues will complain, and you will finally move everything to a commonly understood format two hours before the deadline.</p>
</li>
<li>
<p>The layout of your document means everything to you. You are thinking about a mesmerizing print with 30 types of fonts, text lines crossing the text body, images in every possible place across the document, etc. Then probably LaTeX is not your candidate.</p>
</li>
</ul>
</div>
</div>
<div class="sect2">
<h3 id="_when_people_complain_about_latex_they_say"><a class="anchor" href="#_when_people_complain_about_latex_they_say"></a>When people complain about LaTeX they say…</h3>
<div class="ulist">
<ul>
<li>
<p>It is difficult. LaTeX has a much steeper learning curve when compared with MS Word that is true. However, getting a basic LaTeX (text, figures, titles, tables) document is not so difficult. There are a million examples out there. The complexity comes in understanding the concepts used by LaTeX, such as floating objects.</p>
</li>
<li>
<p>I cannot see what I am doing. LaTeX is not a WYSIWYG solution. You have to compile and then check the output. Fortunately, there are some programs such as TeXMaker that offer a better user experience.</p>
</li>
<li>
<p>Figures do not appear where I want. Well, this is a classic misconception about how figures placement works in LaTeX. LaTeX computes the best location for your figures in your document. However, the position can be changed using modifiers.</p>
</li>
<li>
<p>I cannot easily change the layout of my document. This is true. If you want to set your own document structure you need to have a deeper understanding of the macros. There is a nice community to help you with it. However, this may require some time and effort. Fortunately, there is a vast number of templates already defined ready to be used.</p>
</li>
</ul>
</div>
</div>
<div class="sect2">
<h3 id="_and_now"><a class="anchor" href="#_and_now"></a>And now…</h3>
<div class="paragraph">
<p>If you have read this far, thanks. I probably captured your interest. If so, you can start learning some basics here, and if you need some help check out the StackExchange.</p>
</div>
<div class="paragraph">
<p>What about you? What is your experience using LaTeX? What are your pieces of advice for newbies or experienced users?</p>
</div>
<div class="paragraph">
<p><strong>A first version of this article was published at:</strong></p>
</div>
<div class="literalblock">
<div class="content">
<pre>https://jmtirado.net/why-you-should-learn-latex-or-at-least-give-it-a-try/</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>https://towardsdatascience.com/why-should-you-learn-latex-or-at-least-give-it-a-try-8d0f3218b8e</pre>
</div>
</div>
<div class="literalblock">
<div class="content">
<pre>https://typeset.io/resources/learn-latex-beginners-step-by-step-guide/</pre>
</div>
</div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_more_info"><a class="anchor" href="#_more_info"></a>More info</h2>
<div class="sectionbody">
<div class="paragraph">
<p><a href="https://www.youtube.com/watch?v=21oADyhhX4I" class="bare">https://www.youtube.com/watch?v=21oADyhhX4I</a></p>
</div>
<div class="paragraph">
<p><a href="https://www.youtube.com/watch?v=ZmcOBdmImFs" class="bare">https://www.youtube.com/watch?v=ZmcOBdmImFs</a></p>
</div>
<div class="paragraph">
<p><a href="http://www.docs.is.ed.ac.uk/skills/documents/3722/3722-2014.pdf" class="bare">http://www.docs.is.ed.ac.uk/skills/documents/3722/3722-2014.pdf</a></p>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_run_instance"><a class="anchor" href="#_run_instance"></a>RUN INSTANCE</h2>
<div class="sectionbody">
<div class="paragraph">
<p>Swarmlab services can be run in different ways.</p>
</div>
<div class="ulist">
<ul>
<li>
<p>You can run them <strong>through the swarmlab hybrid environment</strong> (<a href="http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab/docs/hybrid/start-microservices.html" class="bare">http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab/docs/hybrid/start-microservices.html</a>)</p>
</li>
<li>
<p>or use them individually at will on the <strong>command line of your system</strong></p>
</li>
</ul>
</div>
<div class="sect2">
<h3 id="_cli"><a class="anchor" href="#_cli"></a>CLI</h3>
<div class="quoteblock">
<blockquote>
<div class="paragraph">
<p>git clone &#8230;&#8203;</p>
</div>
</blockquote>
</div>
<div class="quoteblock">
<blockquote>
<div class="paragraph">
<p>cd [DIRECTORY]</p>
</div>
</blockquote>
</div>
</div>
<div class="sect2">
<h3 id="_help"><a class="anchor" href="#_help"></a>help</h3>
<div class="quoteblock">
<blockquote>
<div class="paragraph">
<p>make help</p>
</div>
</blockquote>
</div>
<div class="sect3">
<h4 id="_create_service"><a class="anchor" href="#_create_service"></a>create service</h4>
<div class="quoteblock">
<blockquote>
<div class="paragraph">
<p>make create</p>
</div>
</blockquote>
</div>
</div>
</div>
<div class="sect2">
<h3 id="_start_service"><a class="anchor" href="#_start_service"></a>start service</h3>
<div class="quoteblock">
<blockquote>
<div class="paragraph">
<p>make start</p>
</div>
</blockquote>
</div>
</div>
<div class="sect2">
<h3 id="_stop_service"><a class="anchor" href="#_stop_service"></a>stop service</h3>
<div class="quoteblock">
<blockquote>
<div class="paragraph">
<p>make stop</p>
</div>
</blockquote>
</div>
</div>
<div class="sect2">
<h3 id="_list_service"><a class="anchor" href="#_list_service"></a>list service</h3>
<div class="quoteblock">
<blockquote>
<div class="paragraph">
<p>make list</p>
</div>
</blockquote>
</div>
</div>
<div class="sect2">
<h3 id="_clean_service"><a class="anchor" href="#_clean_service"></a>clean service</h3>
<div class="quoteblock">
<blockquote>
<div class="paragraph">
<p>make clean</p>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</article>
</div>
</main>
</div>
<footer class="footer">
<p>This page was built using the Antora <a href="https://gitlab.com/antora/antora-ui-default" target="antora">default UI</a> </p>
</footer>
<script src="../../_/js/site.js"></script>
<script src="../../_/js/vendor/lunr.js"></script>
<script src="../../_/js/vendor/search.js" id="search-script" data-base-path="../.." data-page-path="/swarmlab_microservice-xelatexthesis/docs/index.html"></script>
<script async src="../../_/../search-index.js"></script>
<script async src="../../_/js/vendor/highlight.js"></script>
</body>
</html>

BIN
docs/build/site/swarmlab_sidecar-firefox/docs/_images/adhoc.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

BIN
docs/build/site/swarmlab_sidecar-firefox/docs/_images/swarmlab.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
docs/build/site/swarmlab_sidecar-firefox/docs/_images/trafic.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

BIN
docs/build/site/swarmlab_sidecar-firefox/docs/_images/vehigle.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

187
docs/build/site/swarmlab_sidecar-firefox/docs/index.html

@ -0,0 +1,187 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Sidecar firefox! :: Swarmlab sidecar-firefox</title>
<link rel="canonical" href="http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab_sidecar-firefox/docs/index.html">
<meta name="generator" content="Antora 2.3.4">
<link rel="stylesheet" href="../../_/css/site.css">
<link rel="stylesheet" href="../../_/css/search.css">
<script>var uiRootPath = '../../_'</script>
</head>
<body class="article">
<header class="header">
<nav class="navbar">
<div class="navbar-brand">
<a class="navbar-item" href="http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs">Swarmlab sidecar-firefox</a>
<button class="navbar-burger" data-target="topbar-nav">
<span></span>
<span></span>
<span></span>
</button>
</div>
<div id="topbar-nav" class="navbar-menu">
<div class="navbar-end">
<a class="navbar-item" href="#">Home</a>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="#">Products</a>
<div class="navbar-dropdown">
<a class="navbar-item" target ="hybridgit" href="https://git.swarmlab.io:3000/zeus/swarmlab-hybrid">Hybrid</a>
<a class="navbar-item" target ="venusgit" href="https://git.swarmlab.io:3000/swarmlab/venus-client">Venus</a>
</div>
</div>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="#">Services</a>
<div class="navbar-dropdown">
<a class="navbar-item" target ="hybrid" href="https://api-client.swarmlab.io:8088/">Hybrid</a>
<a class="navbar-item" target ="venus" href="https://api-client.swarmlab.io:8088/">Venus</a>
</div>
</div>
<div class="navbar-item">
<input id="search-input" type="text" placeholder="Search docs">
</div>
</div>
</div>
</nav>
</header>
<div class="body">
<div class="nav-container" data-component="swarmlab_sidecar-firefox" data-version="docs">
<aside class="nav">
<div class="panels">
<div class="nav-panel-menu is-active" data-panel="menu">
<nav class="nav-menu">
<h3 class="title"><a href="index.html">swarmlab_sidecar-firefox</a></h3>
<ul class="nav-list">
<li class="nav-item" data-depth="0">
<ul class="nav-list">
<li class="nav-item is-current-page" data-depth="1">
<a class="nav-link" href="index.html">firefox</a>
</li>
</ul>
</li>
</ul>
</nav>
</div>
<div class="nav-panel-explore" data-panel="explore">
<div class="context">
<span class="title">swarmlab_sidecar-firefox</span>
<span class="version">docs</span>
</div>
<ul class="components">
<li class="component is-current">
<a class="title" href="index.html">swarmlab_sidecar-firefox</a>
<ul class="versions">
<li class="version is-current is-latest">
<a href="index.html">docs</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</aside>
</div>
<main class="article">
<div class="toolbar" role="navigation">
<button class="nav-toggle"></button>
<a href="index.html" class="home-link is-current"></a>
<nav class="breadcrumbs" aria-label="breadcrumbs">
<ul>
<li><a href="index.html">swarmlab_sidecar-firefox</a></li>
<li><a href="index.html">firefox</a></li>
</ul>
</nav>
</div>
<div class="content">
<aside class="toc sidebar" data-title="Contents" data-levels="2">
<div class="toc-menu"></div>
</aside>
<article class="doc">
<h1 class="page">Sidecar firefox!</h1>
<div id="preamble">
<div class="sectionbody">
<div class="imageblock right">
<div class="content">
<img src="_images/swarmlab.png" alt="swarmlab" width="150">
</div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_what_is_a_sidecar"><a class="anchor" href="#_what_is_a_sidecar"></a>What is a "sidecar"?</h2>
<div class="sectionbody">
<div class="paragraph">
<p>A Sidecar container is a container added to the a Network swarm.</p>
</div>
<div class="paragraph">
<p>Be placed it in a Network you can use the same resources being used by the main Network swarm.</p>
</div>
<div class="paragraph">
<p>With the Embedded container as a sicedar you are capable to access the resource.</p>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_usage"><a class="anchor" href="#_usage"></a>Usage</h2>
<div class="sectionbody">
<div class="sect2">
<h3 id="_run_instance"><a class="anchor" href="#_run_instance"></a>run instance</h3>
<div class="ulist">
<ul>
<li>
<p>Run "microservice-firefox"</p>
<div class="ulist">
<ul>
<li>
<p>Instances&#8594;running Containers&#8594;Actions [microservice-firefox_masterservice_1]</p>
</li>
</ul>
</div>
</li>
</ul>
</div>
</div>
<div class="sect2">
<h3 id="_attach_network"><a class="anchor" href="#_attach_network"></a>Attach network</h3>
<div class="ulist">
<ul>
<li>
<p>Instances&#8594;running Containers&#8594;Actions [microservice-firefox_masterservice_1]</p>
<div class="ulist">
<ul>
<li>
<p>Networks&#8594;"Select Network"</p>
</li>
</ul>
</div>
</li>
</ul>
</div>
</div>
<div class="sect2">
<h3 id="_open_gui"><a class="anchor" href="#_open_gui"></a>open Gui</h3>
<div class="ulist">
<ul>
<li>
<p>Instances&#8594;running Containers&#8594;Actions [microservice-firefox_masterservice_1]&#8594;openGui</p>
</li>
</ul>
</div>
</div>
</div>
</div>
</article>
</div>
</main>
</div>
<footer class="footer">
<p>This page was built using the Antora <a href="https://gitlab.com/antora/antora-ui-default" target="antora">default UI</a> </p>
</footer>
<script src="../../_/js/site.js"></script>
<script src="../../_/js/vendor/lunr.js"></script>
<script src="../../_/js/vendor/search.js" id="search-script" data-base-path="../.." data-page-path="/swarmlab_sidecar-firefox/docs/index.html"></script>
<script async src="../../_/../search-index.js"></script>
<script async src="../../_/js/vendor/highlight.js"></script>
</body>
</html>

79
docs/init-docs.sh

@ -0,0 +1,79 @@
#!/bin/bash
SERVICE_URL=https://git.swarmlab.io:3000/swarmlab/microservice-mongoexpress.git
SERVICE_NAME=microservice-mongoexpress
SERVICE_NAME_MENOU=mongoexpress
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
TARGET="$(readlink "$SOURCE")"
if [[ $TARGET == /* ]]; then
SOURCE="$TARGET"
else
DIR="$( dirname "$SOURCE" )"
SOURCE="$DIR/$TARGET" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
fi
done
SRPATH="$( dirname "$SOURCE" )"
SFPATH="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
if [ "$SFPATH" != "$SRPATH" ]; then
RDIR=$SRPATH # relativ path directory
fi
cwdir=$PWD
wdir=$SFPATH
echo $cwdir
echo $wdir
cat << EOF > $wdir/antora.yml
name: swarmlab_${SERVICE_NAME}
title: swarmlab_${SERVICE_NAME}
version: docs
nav:
- modules/ROOT/nav.adoc
EOF
cat << EOF > $wdir/site.yml
site:
title: Swarmlab ${SERVICE_NAME}
url: http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs
start_page: swarmlab_${SERVICE_NAME}::index.adoc
content:
sources:
- url: ${SERVICE_URL}
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
EOF
cat << EOF > $wdir/modules/ROOT/nav.adoc
* xref:index.adoc[${SERVICE_NAME_MENOU}]
EOF

BIN
docs/modules/ROOT/images/adhoc.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

BIN
docs/modules/ROOT/images/swarmlab.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
docs/modules/ROOT/images/trafic.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

BIN
docs/modules/ROOT/images/vehigle.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

1
docs/modules/ROOT/nav.adoc

@ -0,0 +1 @@
* xref:index.adoc[mongoexpress]

126
docs/modules/ROOT/pages/index.adoc

@ -0,0 +1,126 @@
= LabInstance mongoexpress!
== 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
=== Default port
>
> port 8081
>
=== Connect string
> Find mongoserver IP
> nmap -sP IP/24
> nmap -p- IP
> mongo-express --admin --url mongodb://172.25.0.2:27017
> open Browser
== LabInstance Info
Web-based MongoDB admin interface written with Node.js, Express and Bootstrap3
Features
* Connect to multiple databases
* View/add/delete databases
* View/add/rename/delete collections
* View/add/update/delete documents
* Preview audio/video/image assets inline in collection view
* Nested and/or large objects are collapsible for easy overview
* Async on-demand loading of big document properties (>100KB default) to keep collection view fast
* GridFS support - add/get/delete incredibly large files
* Use BSON data types in documents
* Mobile / Responsive - Bootstrap 3 works passably on small screens when you're in a bind
* Connect and authenticate to individual databases
* Authenticate as admin to view all databases
* Database blacklist/whitelist
* Custom CA and CA validation disabling
* Supports replica sets
== More info
https://github.com/mongo-express/mongo-express[^]
== 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

4
docs/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

4
docs/run/build.sh

@ -0,0 +1,4 @@
antora --fetch /antora/site.yml
antora /antora/site.yml
ifconfig
http-server build/site -c-1

20
docs/site.yml

@ -0,0 +1,20 @@
site:
title: Swarmlab microservice-mongoexpress
url: http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs
start_page: swarmlab_microservice-mongoexpress::index.adoc
content:
sources:
- url: https://git.swarmlab.io:3000/swarmlab/microservice-mongoexpress.git
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
Loading…
Cancel
Save