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
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# marklogic-samplestack
2
2
3
-
README for Version 1.0.0-ea3
3
+
README for Version 1.0.0-ea3.1
4
4
5
5
Samplestack is a comprehensive sample application that demonstrates how to build an effective MarkLogic application. Based on the idea of a "Question and Answer" website, Samplestack shows you how to integrate MarkLogic into a three-tier application architecture (browser, application server, and database).
Copy file name to clipboardExpand all lines: appserver/java-spring/README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## What is it?
4
4
5
-
The implementation of samplestack that runs using
5
+
The implementation of samplestack that runs using
6
6
7
7
* gradle as build tool
8
8
* Java as middle-tier development language
@@ -12,14 +12,14 @@ The implementation of samplestack that runs using
12
12
This README covers running samplestack quickly, then documents each of the commands
13
13
available to the Java developer as she iterates through code exploration.
14
14
15
-
## Quickstart
15
+
## Quickstart
16
16
17
17
*To build and run:*
18
18
19
19
Before running anything here, you will need an EA-3 release of MarkLogic.
20
20
Start this quickstart with it installed and running. By default this process will
21
-
will secure MarkLogic with username admin, password admin. If you have already secured
22
-
MarkLogic, you need to update gradle.properties with the admin credentials you used
21
+
will secure MarkLogic with username admin, password admin. If you have already secured
22
+
MarkLogic, you need to update gradle.properties with the admin credentials you used
23
23
during the install and setup process.
24
24
25
25
You also need A JDK 1.7 or 1.8
@@ -32,8 +32,8 @@ The setup assumes you have MarkLogic Server running on your localhost and that y
32
32
Started Application in X seconds...
33
33
>Building 85% > :bootRun
34
34
```
35
-
When it stops like this, the app is ready to to visit. You can
36
-
[exercise the application](http://localhost:8090) and [browse MarkLogic](http://localhost:8000/qconsole)
35
+
When it stops like this, the app is ready to to visit. You can
36
+
[exercise the application](http://localhost:8090) and [browse MarkLogic](http://localhost:8000/qconsole)
37
37
This application server hosts the middle tier and a built version of an angular.js MVC browser application. This browser application is runable separately as well; see the [browser readme](../../browser/README.md) for instructions on how to set up and build with Samplestack's browser application.
38
38
39
39
*If you're stuck...*
@@ -42,22 +42,22 @@ Its possible that you will need to clean your environment, especially if you're
42
42
43
43
`./gradlew --stop` (if you've been using the gradle daemon.)
44
44
`./gradlew clean`
45
-
`./gradlew dbteardown`
45
+
`./gradlew dbteardown`
46
46
*gradle tasks used in Samplestack development*
47
47
48
48
*`./gradlew assemble` This command bootstraps the middle tier, runs tests, and builds the Java project. When it is done you have verified the unit tests and built samplestack.
49
49
*`./gradlew tasks` Lists tasks available to the samplestack project.
50
-
50
+
51
51
*`./gradlew dbConfigure` Incrementally applies configuration changes in ../../database/* to the MarkLogic instance.
52
52
*`./gradlew dbConfigureClean` Removes cache info for configuration from build direcotiry (so next dbConfigure will process all files).
53
53
*`./gradlew dbConfigureAll` dbConfigureClean then runs dbConfigure. Uploads all config files to MarkLogic.
54
-
54
+
55
55
*`./gradlew bootRun` This command runs the middle tier and MarkLogic services. This project also contains a built version of the front-end angular application. If you want to use and exercise the front-end independently, see the sibling project in /browser for instructions on running the browser application
56
56
*`./gradlew seedDataFetch` Fetches seed data from a remote location to the build directory.
57
57
*`./gradlew seedDataExtract` Extracts the fetched seed data tgz to within the directory.
58
58
*`./gradlew dbLoad` Runs seedDataFetch, seedDataExtract as dependencies (unless up-to-date) to load seed data.
59
59
*`./gradlew dbClear` Deletes all data from the database.
60
-
60
+
61
61
* ./gradlew eclipse is one way to set up this project for use in eclipse. [wiki link]
62
62
*`./gradlew javadoc` These docs are built in build/docs/javadoc
0 commit comments