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
+16-12Lines changed: 16 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,14 +52,14 @@ The setup assume you have MarkLogic Server running on your localhost and that yo
52
52
53
53
To install required software, configure, and build the Java middle tier and database tier of Samplestack, run the following commands from the root of your cloned repository:
54
54
55
-
```bash
55
+
```
56
56
cd appserver/java-spring
57
57
./gradlew appserver
58
58
```
59
59
60
60
If the command fails such that you need to run it again, run the following command first to reset the database state:
61
61
62
-
```bash
62
+
```
63
63
./gradlew dbteardown
64
64
```
65
65
@@ -84,24 +84,24 @@ 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
-
89
87
**NOTE:** If you are on Windows, you must use a Windows command shell, not Cygwin.
90
88
89
+
**Important**: In order to run the application you must be running *both* the middle-tier **and** the browser webapp. To do this, **use a separate terminal window for the steps below**.
90
+
91
91
1. Go to the browser subdirectory of the project:
92
92
93
-
```bash
93
+
```
94
94
cd browser
95
95
```
96
96
2. Install the browser application.
97
97
98
-
```bash
98
+
```
99
99
npm install
100
100
bower install
101
101
```
102
102
3. Run the following command to build the web application, run its unit tests, and bring up the required execution environment:
103
103
104
-
```bash
104
+
```
105
105
gulp run
106
106
```
107
107
@@ -114,15 +114,19 @@ Once you have the database, appserver, and browser tiers of the application conf
114
114
115
115
### Restarting the Two Tiers
116
116
117
-
* To stop and restart the middle tier App Server, press `Control+C`
117
+
* To stop the middle tier App Server, press `Control+C`
118
118
* To restart,
119
-
*`cd marklogic-samplestack/appserver/java-spring
120
-
*`./gradlew bootrun`
119
+
```
120
+
cd marklogic-samplestack/appserver/java-spring
121
+
./gradlew bootrun
122
+
```
121
123
122
124
* To stop the browser tier, press `Control+C`
123
125
* To restart,
124
-
*`cd marklogic-samplestack/browser`
125
-
*`gulp run`
126
+
```
127
+
cd marklogic-samplestack/browser
128
+
gulp run
129
+
```
126
130
127
131
### Next Steps
128
132
* Explore the application running at http://localhost:3000.
0 commit comments