This is an automated email from the ASF dual-hosted git repository.

jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git


The following commit(s) were added to refs/heads/master by this push:
     new 9e0ce03  juneau-petstore installing, building and running
     new 48de6a8  Merge pull request #52 from fiammara/master
9e0ce03 is described below

commit 9e0ce03203021bbd8140455851ce85e596f69031
Author: rasa <[email protected]>
AuthorDate: Sun Jan 26 21:00:35 2020 +0200

    juneau-petstore installing, building and running
---
 .../docs/Topics/19.juneau-petstore/01.Installing.html    |  8 +++++++-
 .../docs/Topics/19.juneau-petstore/02.Running.html       | 16 ++++++++++++++--
 .../docs/Topics/19.juneau-petstore/03.Building.html      | 16 +++++++++++++---
 3 files changed, 34 insertions(+), 6 deletions(-)

diff --git a/juneau-doc/docs/Topics/19.juneau-petstore/01.Installing.html 
b/juneau-doc/docs/Topics/19.juneau-petstore/01.Installing.html
index 303d0c7..2bc6f73 100644
--- a/juneau-doc/docs/Topics/19.juneau-petstore/01.Installing.html
+++ b/juneau-doc/docs/Topics/19.juneau-petstore/01.Installing.html
@@ -17,5 +17,11 @@
 Installing in Eclipse
 
 <p>
-       TODO
+       How to import Petstore to Eclipse or Spring Tool Suite: <br><br>
+<ol>
+<li>File --> </li>
+<li>Import --> </li>
+<li>Existing Maven Projects--></li>
+<li>Browse existing projects--> juneau-petstore</li>
+</ol>
 </p>           
diff --git a/juneau-doc/docs/Topics/19.juneau-petstore/02.Running.html 
b/juneau-doc/docs/Topics/19.juneau-petstore/02.Running.html
index f0d3998..27dad19 100644
--- a/juneau-doc/docs/Topics/19.juneau-petstore/02.Running.html
+++ b/juneau-doc/docs/Topics/19.juneau-petstore/02.Running.html
@@ -14,8 +14,20 @@
  -->
 
 {8.1.4-new} 
-Running in Eclipse
+Running Petstore manually
 
 <p>
-       TODO
+               How to run Petstore --Java Backend-- in Eclipse or Spring Tool 
Suite: <br><br>
+       <ol>
+       <li>App.java --> Run as Spring Boot App </li>
+       <li>Main.java --> Run as Spring Boot App </li>
+       </ol>
+</p>
+<p>
+               How to run Petstore --React Frontend-- with npm: <br><br>
+       <ol>
+       <li>Install latest node.js </li>
+       <li>Inside folder "Pets" run command: npm install </li>
+       <li>Inside folder "Pets" run command: npm start  </li>
+       </ol>
 </p>
diff --git a/juneau-doc/docs/Topics/19.juneau-petstore/03.Building.html 
b/juneau-doc/docs/Topics/19.juneau-petstore/03.Building.html
index fc65cd7..3fe7313 100644
--- a/juneau-doc/docs/Topics/19.juneau-petstore/03.Building.html
+++ b/juneau-doc/docs/Topics/19.juneau-petstore/03.Building.html
@@ -14,8 +14,18 @@
  -->
 
 {8.1.4-new} 
-Building and Running from Command-Line
+Building and Running from Command-Line (Using Dockerfiles)
 
 <p>
-       TODO
-</p>
+               How to build and run Petstore using Docker: <br>
+       <ol>
+       <li>Go to the folder "juneau-petstore" and run this command: 
+                       <br> 
+               docker build . -t petstore && docker run -p 5000:5000 
petstore</li>
+       <br>
+       <li>Go to the folder "pets" and run this command:  
+                       <br>
+               docker run --rm -it -p 3000:3000 -v $(pwd):/usr/src/app pets 
</li>
+       
+       </ol>
+       </p>

Reply via email to