This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft-website.git
The following commit(s) were added to refs/heads/master by this push:
new a8c5351 WIP.
a8c5351 is described below
commit a8c53516396e649ac93242d66f240c8ff9ef06f9
Author: Aaron Radzinzski <[email protected]>
AuthorDate: Mon Mar 29 15:32:17 2021 -0700
WIP.
---
_scss/index.scss | 5 +++--
_scss/misc.scss | 2 +-
tools/script.html | 18 +++++++++++++-----
3 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/_scss/index.scss b/_scss/index.scss
index b3d2768..0e2162b 100644
--- a/_scss/index.scss
+++ b/_scss/index.scss
@@ -28,10 +28,11 @@
#banner {
min-height: 300px;
padding: 35px 0 0 40px;
-
+N
a#get-started-btn {
border-color: #c17dac !important;
background-color: #fff !important;
+ border-radius: 4px;
color: #f67484 !important;
font-weight: 500;
margin-left: 2px;
@@ -271,7 +272,7 @@ div.quick-link {
border: 1px solid #e0ded2;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
- border-radius: 2px;
+ border-radius: 4px;
background-color: $color-magnolia;
white-space: nowrap;
diff --git a/_scss/misc.scss b/_scss/misc.scss
index 9bede67..f89117b 100644
--- a/_scss/misc.scss
+++ b/_scss/misc.scss
@@ -266,7 +266,7 @@ $bq-success-border-color: $brand-success;
margin: 20px 0;
padding: 15px 20px;
border-left: 3px solid #eee;
- border-radius: 6px;
+ border-radius: 1px 6px 6px 1px;
& > p,
& > ul {
diff --git a/tools/script.html b/tools/script.html
index a4cbbaf..0221af9 100644
--- a/tools/script.html
+++ b/tools/script.html
@@ -139,7 +139,7 @@ id: script
<h3 class="section-title">Tips <span class="amp">&</span>
Tricks</h3>
<p>
NLPCraft CLI is standard command line utility that can be used in
the familiar ways both in
- Linux/Unix/MacOS <i class="fab fa-fw fa-linux"></i> and Window <i
class="fab fa-fw fa-windows"></i> environments.
+ Linux/Unix/MacOS and Window environments.
</p>
<span class="section-sub-title">Typical Development Workflow</span>
<p>
@@ -153,7 +153,8 @@ id: script
or Kotlin that is ready to run.
</li>
<li>
- <code>start-server</code> command starts the local REST server.
+ <code>start-server</code> command starts the local REST
server. You only need to do it once as it is a
+ "fire and forget" component.
</li>
<li>
Modify <span class="amp">&</span> build the project using
IDE or editor of your choice. You can
@@ -165,12 +166,18 @@ id: script
start the local data probe and issue REST requests.
</li>
<li>
- <code>stop</code> command stops both local REST server and
data probe.
+ Repeat steps 3 and 4 as you develop, test and debug your
models and applications.
+ </li>
+ <li>
+ Once finished - <code>stop</code> command stops both local
REST server and data probe. Note that stopping
+ the server once again is an optional step as it is a "fire and
forget" component and it can be reused between development
+ sessions.
</li>
</ol>
<div class="bq info">
<p>
- Steps 3 and 4 define a typical development cycle for change,
build and test.
+ Steps 3 and 4 define a typical development cycle for change,
build and test. In most cases you <b>don't need</b>
+ to restart the server between multiple sessions.
</p>
</div>
<span class="section-sub-title">Using <code>start-server</code>
Command</span>
@@ -190,6 +197,7 @@ id: script
</p>
<span class="section-sub-title">Using NLPCraft CLI In Scripts</span>
<p>
+ NLPCraft CLI can be used in your own scripts to automate your own
specific workflow and tasks.
All of the commands that utilize REST API produce JSON responses,
for a example:
</p>
<p>
@@ -213,7 +221,7 @@ id: script
</p>
<ul>
<li>
- We use <code>no-ansi</code> and <code>no-logo</code> special
commands that clean up and simplify the
+ We use <code>no-ansi</code> and <code>no-logo</code> commands
that clean up and simplify the
output so that it would be easier to parse the resulting JSON.
</li>
<li>