You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 30, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+17-11Lines changed: 17 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ The project includes the following major components:
10
10
* Web/browser front end based on Angular.js
11
11
* Middle appserver tier implemented in Java/Spring
12
12
* Database tier hosted on MarkLogic
13
-
* Gradle framework to drive build and configuration of the appserver and database tiers
13
+
* Gradle framework to drive build and configuration of the appserver and database tiersÂ
14
14
* Unit tests
15
15
16
16
This README covers the following topics:
@@ -73,7 +73,7 @@ Successfully completing this step does the following:
73
73
* Bootstraps the middle tier.
74
74
* Builds the Java middle tier components.
75
75
* Loads the database with sample data.
76
-
* Starts up the middle tier and MarkLogic application services.
76
+
* Starts up the middle tier and MarkLogic application services.
77
77
78
78
The middle tier App Server runs on port 8090 by default. Visit http://localhost:8001 if you need to administer the database.
79
79
@@ -84,6 +84,8 @@ Use the following procedure to install required software and bootstrap the Sampl
84
84
85
85
For detailed instructions and troubleshooting, see the [README in the browser directory](browser/README.md).
86
86
87
+
**Important**: in order to run the application you must be running *both* the middle-tier **and** the browser webapp. To do this, **use a separtate terminal window for the steps below**.
88
+
87
89
**NOTE:** If you are on Windows, you must use a Windows command shell, not Cygwin.
88
90
89
91
1. Go to the browser subdirectory of the project:
@@ -110,17 +112,21 @@ Once you have the database, appserver, and browser tiers of the application conf
110
112
111
113
`http://localhost:3000/`
112
114
113
-
To restart the middle tier App Server and browser tier web servers in the future, run the following commands:
114
-
```bash
115
-
cd appserver/java-spring
116
-
./gradlew bootrun
117
-
cd ../../browser
118
-
gulp run
119
-
```
115
+
### Restarting the Two Tiers
116
+
117
+
To stop and restart the middle tier App Server, from its terminal window:
0 commit comments