Skip to content

Files

Latest commit

 

History

History
 
 

quick-start

MarkLogic Data Hub - Quick Start

Quick Start is a single-page web application that is deployed in an embedded Tomcat.

Configuring the Tomcat server port and web app context path

  • edit application.properties file and edit server.port and server.contextPath

Build and deploy the web app via command line

  • run gradle build
  • run java -jar build/libs/quick-start-0.1.0.war (or whatever the current version is in /build/libs/)

To pass properties to the app, either do the following (in order of priority):

  • Add environment.properties in the quick-start directory with the following properties: projectDir= mlRestPort= mlHost= mlUsername= mlPassword= OR
  • Add the command line properties --mlHost= --mlRestPort= --mlUsername= --mlPassword= --projectDir=

Build and deploy the web app via Eclipse

  • Select Application.java then Run as Java Application
  • To develop in eclipse, run ../gradlew eclipse for both quick start and DHIB and make DHIB a project dependency

Go to the main page