This directory contains example ml-gradle projects to demonstrate various features and common deployment scenarios.
To try a particular project, clone this repository, cd
to the directory of the project you wish to try,
and do the following:
- Most of the projects default to a username and password of "admin". You can change this either by modifying the
mlPassword
property in thegradle.properties
file in the project, or - if the project is using the Gradle properties plugin - you can create the filegradle-local.properties
and set bothmlUsername
andmlPassword
in that file. - If the project has any ports defined in
gradle.properties
, verify that those ports are open and available on the machine that is running MarkLogic. - Each project can use the Gradle wrapper instance
within this directory by running
../gradlew
from the example project directory. The project can thus be deployed via../gradlew -i mlDeploy
.
After you've deployed and examined/tested the application, you can undeploy it via:
../gradlew -i -Pconfirm=true mlUndeploy
Please note that these example projects are not re-tested with every ml-gradle release. If you run into a problem with any of them, please file an issue with ml-gradle.