Author: shuber
Date: Tue Feb  1 13:47:34 2022
New Revision: 1897660

URL: http://svn.apache.org/viewvc?rev=1897660&view=rev
Log:
[scm-publish] Updating Unomi website

Modified:
    unomi/website/get-started.html
    unomi/website/use-cases.html

Modified: unomi/website/get-started.html
URL: 
http://svn.apache.org/viewvc/unomi/website/get-started.html?rev=1897660&r1=1897659&r2=1897660&view=diff
==============================================================================
--- unomi/website/get-started.html (original)
+++ unomi/website/get-started.html Tue Feb  1 13:47:34 2022
@@ -108,20 +108,43 @@
 
         <div id="quickstart" class="row featurette pt-4">
           <div class="col-md-12">
-            <h2 class="featurette-heading">5 Minutes Quick start !</h2>
-            <ol style="list-style-type: decimal">
-              <li>Install JDK 8 (see <a target="_blank" 
href="http://www.oracle.com/technetwork/java/javase/downloads/index.html";>http://www.oracle.com/technetwork/java/javase/downloads/index.html</a>
 and make sure you set the JAVA_HOME variable <a target="_blank" 
href="https://docs.oracle.com/cd/E19182-01/820-7851/inst_cli_jdk_javahome_t/";>https://docs.oracle.com/cd/E19182-01/820-7851/inst_cli_jdk_javahome_t/</a></li>
-              <li>Download ElasticSearch here : <a target="_blank" 
href="https://www.elastic.co/downloads/past-releases";>https://www.elastic.co/downloads/past-releases</a>
 (please <strong>make sure</strong> you use the proper version : [7.4.2 for 
Unomi &gt;= 1.5] and [5.6.3 for Unomi &gt;= 1.3] and [5.1.2 for Unomi &lt;= 
1.2])</li>
-              <li>Uncompress it and change the 
<code>config/elasticsearch.yml</code> to include the following config : 
<code>cluster.name: contextElasticSearch</code></li>
-              <li>Launch ElasticSearch using : 
<code>bin/elasticsearch</code></li>
-              <li>Download Apache Unomi here : <a target="_blank" 
href="http://unomi.apache.org/download.html";>http://unomi.apache.org/download.html</a></li>
-              <li>Start it using : <code>./bin/karaf</code></li>
-              <li>Start the Apache Unomi packages using 
<code>unomi:start</code> in the Apache Karaf Shell</li>
-              <li>Wait for startup to complete</li>
-              <li>Try accessing <a target="_blank" 
href="https://localhost:9443/cxs/cluster";>https://localhost:9443/cxs/cluster</a>
 with username/password: karaf/karaf . You might get a certificate warning in 
your browser, just accept it despite the warning it is safe.</li>
-              <li>Request your first context by simply accessing : <a 
target="_blank" 
href="http://localhost:8181/context.js?sessionId=1234";>http://localhost:8181/context.js?sessionId=1234</a></li>
-              <li>If something goes wrong, you should check the logs in 
./data/log/karaf.log. If you get errors on ElasticSearch, make sure you are 
using the proper version.</li>
-            </ol>
+            <h2 class="featurette-heading">Quick start with Docker</h2>
+            <div class="pb-2 pt-2">
+              <p>Docker images are available for Apache Unomi, this section 
will provide a few quick steps to get your first Unomi environment started, the 
only requirement being to have a recent version of Docker installed on your 
machine.</p>
+              <p>Somewhere on your filesystem, create a file called 
<code>docker-compose.yml</code>, with the following content:</p>
+              <p>
+                <code>
+                  <pre>
+                    version: '3.8'
+                    services:
+                      elasticsearch:
+                        image: 
docker.elastic.co/elasticsearch/elasticsearch:7.10.2
+                        environment:
+                          - discovery.type=single-node
+                        ports:
+                          - 9200:9200                    
+                      unomi:
+                        # Unomi version can be updated based on your needs
+                        image: apache/unomi:1.5.7
+                        environment:
+                          - UNOMI_ELASTICSEARCH_ADDRESSES=elasticsearch:9200
+                          - 
UNOMI_THIRDPARTY_PROVIDER1_IPADDRESSES=0.0.0.0/0,::1,127.0.0.1
+                        ports:
+                          - 8181:8181
+                          - 9443:9443
+                          - 8102:8102
+                        links:
+                          - elasticsearch
+                        depends_on:
+                          - elasticsearch                    
+                  </pre>
+                </code>
+              </p>
+              <p>From the same folder, start the environment using 
<code>docker-compose up</code> and wait for the startup to complete.</p>
+              <p>Try accessing <a target="_blank" 
href="https://localhost:9443/cxs/cluster";>https://localhost:9443/cxs/cluster</a>
 with username/password: karaf/karaf . You might get a certificate warning in 
your browser, just accept it despite the warning it is safe.</p>
+              <p>Want to start Unomi manually using Java instead ? You can 
find a quick start guide <a target="_blank" 
href="https://unomi.apache.org/manual/latest/index.html#_quick_start";>in our 
documentation</a>. </p>
+              <p>Please note that the above configuration is aimed at 
discovering Apache Unomi quickly, it is not recommended to use this 
configuration <a target="_blank" 
href="https://unomi.apache.org/manual/latest/index.html#_securing_a_production_environment";>for
 production environments.</a></p>
+            </div>
           </div>
         </div>
 

Modified: unomi/website/use-cases.html
URL: 
http://svn.apache.org/viewvc/unomi/website/use-cases.html?rev=1897660&r1=1897659&r2=1897660&view=diff
==============================================================================
--- unomi/website/use-cases.html (original)
+++ unomi/website/use-cases.html Tue Feb  1 13:47:34 2022
@@ -82,7 +82,7 @@
         <div class="container pt-5 pb-2">
       <div class="jumbotron p-3 p-md-5 text-white bg-primary">
         <div class="col-md-12 px-0">
-          <h1 class="display-5 font-italic">Apache Unomi has several use cases 
for what your need!</h1>
+          <h1 class="display-5 font-italic">Apache Unomi has several use cases 
for what you need!</h1>
           <p class="lead my-3">Apache Unomi is a REST server that manages user 
profiles and events related to the profiles. It can be used to integrate 
personalization and profile management within very different systems such as 
CMS, CRMs, Issue Trackers, native mobile application. It was designed to be 
easy to integrate with external systems, promoting profile sharing and re-use 
in very different applications.</p>
           <p class="lead mb-0">Let's start !</p>
         </div>


Reply via email to