Skip to content
This repository was archived by the owner on May 30, 2019. It is now read-only.

Commit 2f90cd3

Browse files
committed
chore: clarify stop/restart instructions
1 parent 87653d5 commit 2f90cd3

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

README.md

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ The setup assume you have MarkLogic Server running on your localhost and that yo
5252
5353
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:
5454
55-
```bash
55+
```
5656
cd appserver/java-spring
5757
./gradlew appserver
5858
```
5959
6060
If the command fails such that you need to run it again, run the following command first to reset the database state:
6161
62-
```bash
62+
```
6363
./gradlew dbteardown
6464
```
6565
@@ -84,24 +84,24 @@ Use the following procedure to install required software and bootstrap the Sampl
8484
8585
For detailed instructions and troubleshooting, see the [README in the browser directory](browser/README.md).
8686
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-
8987
**NOTE:** If you are on Windows, you must use a Windows command shell, not Cygwin.
9088
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+
9191
1. Go to the browser subdirectory of the project:
9292
93-
```bash
93+
```
9494
cd browser
9595
```
9696
2. Install the browser application.
9797
98-
```bash
98+
```
9999
npm install
100100
bower install
101101
```
102102
3. Run the following command to build the web application, run its unit tests, and bring up the required execution environment:
103103
104-
```bash
104+
```
105105
gulp run
106106
```
107107
@@ -114,15 +114,19 @@ Once you have the database, appserver, and browser tiers of the application conf
114114
115115
### Restarting the Two Tiers
116116
117-
* To stop and restart the middle tier App Server, press `Control+C`
117+
* To stop the middle tier App Server, press `Control+C`
118118
* To restart,
119-
* `cd marklogic-samplestack/appserver/java-spring
120-
* `./gradlew bootrun`
119+
```
120+
cd marklogic-samplestack/appserver/java-spring
121+
./gradlew bootrun
122+
```
121123
122124
* To stop the browser tier, press `Control+C`
123125
* To restart,
124-
* `cd marklogic-samplestack/browser`
125-
* `gulp run`
126+
```
127+
cd marklogic-samplestack/browser
128+
gulp run
129+
```
126130
127131
### Next Steps
128132
* Explore the application running at http://localhost:3000.

0 commit comments

Comments
 (0)