aboutsummaryrefslogtreecommitdiff
path: root/docs/_book/Usage/CLI.html
diff options
context:
space:
mode:
authorJakob Stendahl <14180120+JakobST1n@users.noreply.github.com>2021-10-11 20:02:04 +0200
committerGitHub <noreply@github.com>2021-10-11 20:02:04 +0200
commitc67531161e56488166a33232f87566309ba8676e (patch)
tree846e59a020e80bea48557d5a06af5728e44961ff /docs/_book/Usage/CLI.html
parente6880cd8ccf82d993f222cb14b4860581654acb8 (diff)
parentc1b6eec770b885a9829e1f62bad5cc99389ca429 (diff)
downloadLuxcena-Neo-c67531161e56488166a33232f87566309ba8676e.tar.gz
Luxcena-Neo-c67531161e56488166a33232f87566309ba8676e.zip
Merge pull request #24 from JakobST1n/rebuild
v1.0.0
Diffstat (limited to 'docs/_book/Usage/CLI.html')
-rw-r--r--docs/_book/Usage/CLI.html523
1 files changed, 0 insertions, 523 deletions
diff --git a/docs/_book/Usage/CLI.html b/docs/_book/Usage/CLI.html
deleted file mode 100644
index b3809aa..0000000
--- a/docs/_book/Usage/CLI.html
+++ /dev/null
@@ -1,523 +0,0 @@
-
-<!DOCTYPE HTML>
-<html lang="" >
- <head>
- <meta charset="UTF-8">
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
- <title>CLI ยท Luxcena-Neo wiki</title>
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <meta name="description" content="">
- <meta name="generator" content="GitBook 3.2.3">
- <meta name="author" content="JakobST1n">
-
-
-
- <link rel="stylesheet" href="../gitbook/style.css">
-
-
-
-
- <link rel="stylesheet" href="../gitbook/gitbook-plugin-code/plugin.css">
-
-
-
- <link rel="stylesheet" href="../gitbook/gitbook-plugin-pretty-term/terminal.css">
-
-
-
- <link rel="stylesheet" href="../gitbook/gitbook-plugin-hints/plugin-hints.css">
-
-
-
- <link rel="stylesheet" href="../gitbook/gitbook-plugin-comment/plugin.css">
-
-
-
- <link rel="stylesheet" href="../gitbook/gitbook-plugin-emphasize/plugin.css">
-
-
-
- <link rel="stylesheet" href="../gitbook/gitbook-plugin-api/api.css">
-
-
-
- <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
-
-
-
- <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
-
-
-
- <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <meta name="HandheldFriendly" content="true"/>
- <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black">
- <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
- <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
-
-
-
- <link rel="prev" href="Configuration.html" />
-
-
- </head>
- <body>
-
-<div class="book">
- <div class="book-summary">
-
-
-<div id="book-search-input" role="search">
- <input type="text" placeholder="Type to search" />
-</div>
-
-
- <nav role="navigation">
-
-
-
-<ul class="summary">
-
-
-
-
-
-
-
-
-
- <li class="chapter " data-level="1.1" data-path="../">
-
- <a href="../">
-
-
- Introduction
-
- </a>
-
-
-
- </li>
-
- <li class="chapter " data-level="1.2" data-path="./">
-
- <a href="./">
-
-
- Usage
-
- </a>
-
-
-
- <ul class="articles">
-
-
- <li class="chapter " data-level="1.2.1" data-path="Install.html">
-
- <a href="Install.html">
-
-
- Install
-
- </a>
-
-
-
- </li>
-
- <li class="chapter " data-level="1.2.2" data-path="Configuration.html">
-
- <a href="Configuration.html">
-
-
- Configuration
-
- </a>
-
-
-
- </li>
-
- <li class="chapter active" data-level="1.2.3" data-path="CLI.html">
-
- <a href="CLI.html">
-
-
- CLI
-
- </a>
-
-
-
- </li>
-
-
- </ul>
-
- </li>
-
- <li class="chapter " data-level="1.3" >
-
- <span>
-
-
- Scripting
-
- </span>
-
-
-
- <ul class="articles">
-
-
- <li class="chapter " data-level="1.3.1" data-path="../Scripting/SupportLib/">
-
- <a href="../Scripting/SupportLib/">
-
-
- Support Library
-
- </a>
-
-
-
- </li>
-
- <li class="chapter " data-level="1.3.2" >
-
- <span>
-
-
- Examples
-
- </span>
-
-
-
- <ul class="articles">
-
-
- <li class="chapter " data-level="1.3.2.1" data-path="../Scripting/Examples/strandtest.html">
-
- <a href="../Scripting/Examples/strandtest.html">
-
-
- Strandtest
-
- </a>
-
-
-
- </li>
-
-
- </ul>
-
- </li>
-
-
- </ul>
-
- </li>
-
- <li class="chapter " data-level="1.4" >
-
- <span>
-
-
- Contributing
-
- </span>
-
-
-
- <ul class="articles">
-
-
- <li class="chapter " data-level="1.4.1" >
-
- <span>
-
-
- Modules
-
- </span>
-
-
-
- <ul class="articles">
-
-
- <li class="chapter " data-level="1.4.1.1" data-path="../Contributing/Modules/CompileAndRun.html">
-
- <a href="../Contributing/Modules/CompileAndRun.html">
-
-
- CompileAndRun
-
- </a>
-
-
-
- </li>
-
-
- </ul>
-
- </li>
-
-
- </ul>
-
- </li>
-
-
-
-
- <li class="divider"></li>
-
- <li>
- <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
- Published with GitBook
- </a>
- </li>
-</ul>
-
-
- </nav>
-
-
- </div>
-
- <div class="book-body">
-
- <div class="body-inner">
-
-
-
-<div class="book-header" role="navigation">
-
-
- <!-- Title -->
- <h1>
- <i class="fa fa-circle-o-notch fa-spin"></i>
- <a href=".." >CLI</a>
- </h1>
-</div>
-
-
-
-
- <div class="page-wrapper" tabindex="-1" role="main">
- <div class="page-inner">
-
-<div id="book-search-results">
- <div class="search-noresults">
-
- <section class="normal markdown-section">
-
- <h1 id="command-line-interface">Command line interface</h1>
-<hr>
-<p>This gets installed in the <code>/usr/bin</code> directory, and can be called by:</p>
-<pre><code class="lang-bash">$ luxcena-neo.sh
-</code></pre>
-<p>or is alias</p>
-<pre><code class="lang-bash">$ lux-neo
-</code></pre>
-<p><div class="alert alert-danger hints-alert"><div class="hints-icon"><i class="fa fa-exclamation-circle"></i></div><div class="hints-container"><p>This CLI assumes root access, so please run it with <code>sudo</code></p>
-</div></div></p>
-<h2 id="options">Options</h2>
-<h3 id="sudo-lux-neo-uninstall"><code>sudo lux-neo uninstall</code></h3>
-<p>Uninstall the whole thing. You will have to remove this script yourself.</p>
-<h3 id="sudo-lux-neo-update-skipnode"><code>sudo lux-neo update (skipNode)</code></h3>
-<p>Update to the newest version on the current branch.
-If <code>skipNode</code> is the second argument, <code>npm</code> won&apos;t be run.</p>
-<h3 id="sudo-lux-neo-conf"><code>sudo lux-neo conf</code></h3>
-<p>Open the strip-config in <code>nano</code>.</p>
-<h3 id="sudo-lux-neo-start-boot"><code>sudo lux-neo start (boot)</code></h3>
-<p>Start the server.
-If you add <code>boot</code>, it will start when the system boots:</p>
-<pre><code class="lang-bash">sudo lux-neo start boot
-</code></pre>
-<h3 id="sudo-lux-neo-stop-boot"><code>sudo lux-neo stop (boot)</code></h3>
-<p>Stop the server.
-If you add <code>boot</code>, it will <em>NOT</em> start when the system boots:</p>
-<pre><code class="lang-bash">sudo lux-neo start boot
-</code></pre>
-<h3 id="sudo-lux-neo-status"><code>sudo lux-neo status</code></h3>
-<p>This will output the status of the app. First it reports if the service is running,
-and some general info. Then it prints the systemd-status report.</p>
-<p>Example output:</p>
-<pre><code class="lang-text">Luxcena-neo-cli [args: &apos;status&apos;]
-
-&#x256D;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x256E;
-&#x2502; Service active: yes &#x2502;
-&#x2502; Starts on boot: yes &#x2502;
-&#x2502; Has failed: no &#x2502;
-&#x2570;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x256F;
-
-&#x2501;&#x2501;&#x2501;Service status&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;
-&#x25CF; luxcena-neo.service - Luxcena Neo
- Loaded: loaded (/etc/systemd/system/luxcena-neo.service; enabled; vendor preset: enabled)
- Active: active (running) since Wed 2018-12-05 22:55:28 UTC; 6min ago
- Main PID: 2365 (luxcena-neo.sh)
- CGroup: /system.slice/luxcena-neo.service
- &#x251C;&#x2500;2365 /bin/bash /home/lux-neo/src/bin/luxcena-neo.sh
- &#x2514;&#x2500;2367 node /home/lux-neo/src/app.js
-
-Dec 05 22:55:28 LUXCENA-STUE-SKAP systemd[1]: Started Luxcena Neo.
-&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;
-</code></pre>
-<h3 id="sudo-lux-neo-log-serviceapp"><code>sudo lux-neo log service/app</code></h3>
-<p>This shows the last 20 lines of the chosen log-file. And stays open to show
-all new entries.</p>
-<p>Example output:</p>
-<pre><code class="lang-text">Luxcena-neo-cli [args: &apos;log app&apos;]
-
-&#x2501;&#x2501;&#x2501;App log (press ctrl+c to exit)&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;
-[3.11.2018 23:5:21:401] EVENT Starting Luxcena-Neo...
-[3.11.2018 23:5:22:462] SUCCESS Webserver now listening at *:8080
-</code></pre>
-<h3 id="sudo-lux-neo-version"><code>sudo lux-neo version</code></h3>
-<p>Currently not really doing anything usefull apart from showing which branch you are on.</p>
-<p>Example output:</p>
-<pre><code class="lang-text">Luxcena-neo-cli [args: &apos;version&apos;]
-
-&#x256D;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x256E;
-&#x2502; Version: Unknown &#x2502;
-&#x2502; branch : dev &#x2502;
-&#x2570;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x256F;
-</code></pre>
-<h3 id="sudo-lux-neo-selectbranch-branch"><code>sudo lux-neo selectBranch &lt;branch&gt;</code></h3>
-<p>This will change what branch you are on to <branch>. Stashing changes (shouldn&apos;t be a concern, but just saying it anyways).</branch></p>
-<p><em>Please note that the version-checker now will just be useless, as it does not now what branch we really are on.</em></p>
-
-
- </section>
-
- </div>
- <div class="search-results">
- <div class="has-results">
-
- <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
- <ul class="search-results-list"></ul>
-
- </div>
- <div class="no-results">
-
- <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
-
- </div>
- </div>
-</div>
-
- </div>
- </div>
-
- </div>
-
-
-
- <a href="Configuration.html" class="navigation navigation-prev navigation-unique" aria-label="Previous page: Configuration">
- <i class="fa fa-angle-left"></i>
- </a>
-
-
-
-
- </div>
-
- <script>
- var gitbook = gitbook || [];
- gitbook.push(function() {
- gitbook.page.hasChanged({"page":{"title":"CLI","level":"1.2.3","depth":2,"next":{"title":"Scripting","level":"1.3","depth":1,"ref":"","articles":[{"title":"Support Library","level":"1.3.1","depth":2,"path":"Scripting/SupportLib/README.md","ref":"Scripting/SupportLib/README.md","articles":[]}]},"previous":{"title":"Configuration","level":"1.2.2","depth":2,"path":"Usage/Configuration.md","ref":"Usage/Configuration.md","articles":[]},"dir":"ltr"},"config":{"plugins":["code","pretty-term","hints","comment","github","emphasize","api","offline","livereload"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"emphasize":{},"offline":{},"pretty-term":{},"github":{"url":"https://github.com/jakobst1n/luxcena-neo"},"livereload":{},"search":{},"hints":{"danger":"fa fa-exclamation-circle","info":"fa fa-info-circle","tip":"fa fa-mortar-board","working":"fa fa-wrench"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"code":{"copyButtons":true},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"api":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"comment":{"highlightCommented":true}},"theme":"default","author":"JakobST1n","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Luxcena-Neo wiki","gitbook":"*"},"file":{"path":"Usage/CLI.md","mtime":"2018-12-05T23:12:33.977Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-05T23:08:01.913Z"},"basePath":"..","book":{"language":""}});
- });
- </script>
-</div>
-
-
- <script src="../gitbook/gitbook.js"></script>
- <script src="../gitbook/theme.js"></script>
-
-
- <script src="../gitbook/gitbook-plugin-code/plugin.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-pretty-term/terminal.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-comment/plugin.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-github/plugin.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-api/api.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-offline/service-worker-registration.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-search/search.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
-
-
-
- <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
-
-
-
- </body>
-</html>
-