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 54a64ad WIP on docs.
54a64ad is described below
commit 54a64adfb3c9196bedaa285c8981b601aabbc5e9
Author: Aaron Radzinski <[email protected]>
AuthorDate: Sun Sep 20 14:04:53 2020 -0700
WIP on docs.
---
getting-started.html | 11 +++++------
installation.html | 9 +++++----
server-and-probe.html | 12 ++++++++++--
3 files changed, 20 insertions(+), 12 deletions(-)
diff --git a/getting-started.html b/getting-started.html
index 4394b18..70681ab 100644
--- a/getting-started.html
+++ b/getting-started.html
@@ -178,8 +178,7 @@ id: getting_started
<a target="wiki"
href="https://en.wikipedia.org/wiki/CURL">cURL</a> utility which you can simply
use from the
command line in any OS.
NLPCraft comes with a convenient wrapper script
<code>bin/nccurl.sh</code> that shortens
- command line of the standard <code>cURL</code>. Note also that
we'll be using Python to pretty format
- cURL JSON responses.
+ command line of the standard <code>cURL</code>.
</p>
<h3 class="section-title">Sign In</h3>
<p>
@@ -189,7 +188,7 @@ id: getting_started
<code>admin</code> password. Open new command line terminal and
let's use these default credentials for sing in:
</p>
<pre class="brush: js; highlight: [3]">
- $ nccurl.sh signin '{"email": "[email protected]", "passwd":
"admin"}' | python -m json.tool
+ $ nccurl.sh signin '{"email": "[email protected]", "passwd":
"admin"}'
{
"acsTok": "KMGWMQJ44",
"status": "API_OK"
@@ -210,7 +209,7 @@ id: getting_started
<b>Q: What is the current forecast for Chicago?</b>
</p>
<pre class="brush: js highlight: [2, 3, 4, 5]">
- $ nccurl.sh ask/sync '{"acsTok": "KMGWMQJ44", "txt": "What is the
current forecast for Chicago?", "mdlId": "nlpcraft.weather.ex"}' | python -m
json.tool
+ $ nccurl.sh ask/sync '{"acsTok": "KMGWMQJ44", "txt": "What is the
current forecast for Chicago?", "mdlId": "nlpcraft.weather.ex"}'
</pre>
<p>
And we get a full 5-day forecast for Chicago:
@@ -262,7 +261,7 @@ id: getting_started
<b>Q: Any chance of snow today in Moscow?</b>
</p>
<pre class="brush: js highlight: [2, 3, 4, 5]">
- $ nccurl.sh ask/sync '{"acsTok": "KMGWMQJ44", "txt": "Any chance
of snow today in Moscow?", "mdlId": "nlpcraft.weather.ex"}' | python -m
json.tool
+ $ nccurl.sh ask/sync '{"acsTok": "KMGWMQJ44", "txt": "Any chance
of snow today in Moscow?", "mdlId": "nlpcraft.weather.ex"}'
</pre>
<p>
And we get today's Moscow weather report:
@@ -337,7 +336,7 @@ id: getting_started
Once we enjoyed our conversation about the weather we sign out:
</p>
<pre class="brush: js highlight: [3]">
- $ nccurl.sh signout '{"acsTok": "KMGWMQJ44"}' | python -m json.tool
+ $ nccurl.sh signout '{"acsTok": "KMGWMQJ44"}'
{
"status": "API_OK"
}
diff --git a/installation.html b/installation.html
index 9b5a432..eabc5b1 100644
--- a/installation.html
+++ b/installation.html
@@ -50,11 +50,12 @@ id: installation
</p>
</section>
<section id="ignite">
- <h2 class="section-title">Apache Ignite 2.7 <span
class="amp">&</span> Java 11+</h2>
+ <h2 class="section-title">Apache Ignite 2.x <span
class="amp">&</span> Java 11+</h2>
<p>
- By default NLPCraft uses <a target=_
href="https://ignite.apache.org/">Apache Ignite</a> project as its
- underlying in-memory distributed storage and cluster computing
framework. If running with Apache Ignite 2.7 or
- earlier on Java 11 you need to follow these
+ Starting with NLPCraft 0.7.0, NLPCraft requires JDK 11 as its
minimum JDK version.
+ NLPCraft uses <a target=_ href="https://ignite.apache.org/">Apache
Ignite 2.x</a> project as its
+ underlying in-memory distributed storage and cluster computing
framework. When running Apache Ignite 2.x
+ on Java 11 you need to follow these
<a target=_
href="https://apacheignite.readme.io/docs/getting-started#section-running-ignite-with-java-9-10-11">instructions.</a>
</p>
<div class="bq info">
diff --git a/server-and-probe.html b/server-and-probe.html
index 33e0735..dc6ba11 100644
--- a/server-and-probe.html
+++ b/server-and-probe.html
@@ -500,7 +500,7 @@ nlpcraft {
<a href="using-rest.html#misc">health check REST call</a>. The
plugin can be configured in the following way for your own project
(taken directly from NLPCraft <a target="github"
href="https://github.com/apache/incubator-nlpcraft/blob/master/nlpcraft/pom.xml"><code>pom.xml</code></a>):
</p>
- <pre class="brush: xml, highlight: [14, 16, 21]">
+ <pre class="brush: xml, highlight: [14, 16, 28]">
<plugin>
<groupId>com.bazaarvoice.maven.plugins</groupId>
<artifactId>process-exec-maven-plugin</artifactId>
@@ -521,7 +521,15 @@ nlpcraft {
<argument>java</argument>
<argument>-Xmx4G</argument>
<argument>-Xms4G</argument>
+
<argument>--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED</argument>
+
<argument>--add-exports=java.base/sun.nio.ch=ALL-UNNAMED</argument>
+
<argument>--add-exports=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED</argument>
+
<argument>--add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED</argument>
+
<argument>--add-exports=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED</argument>
+
<argument>--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED</argument>
+ <argument>--illegal-access=permit</argument>
<argument>-DNLPCRAFT_ANSI_COLOR_DISABLED=true</argument>
+
<argument>-Djdk.tls.client.protocols=TLSv1.2</argument>
<argument>-jar</argument>
<argument>${project.build.directory}/${nlpcraft.all.deps.jar}</argument>
<argument>-server</argument>
@@ -554,7 +562,7 @@ nlpcraft {
</li>
<li>
Since the server log is piped out to a separate file we
disable ANSI coloring for the server
- on the line 21.
+ on the line 28.
</li>
</ul>
<div class="bq info">