Skip to content

Latest commit

 

History

History
 
 

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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:

  1. Most of the projects default to a username and password of "admin". You can change this either by modifying the mlPassword property in the gradle.properties file in the project, or - if the project is using the Gradle properties plugin - you can create the file gradle-local.properties and set both mlUsername and mlPassword in that file.
  2. 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.
  3. 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.