-
Notifications
You must be signed in to change notification settings - Fork 1
Run and debug Pipes locally
Saša Mitrović edited this page Jul 22, 2020
·
5 revisions
Prerequisites:
Run the following commands:
git clone https://github.com/marklogic-community/pipes.git
cd pipes
npm install
npm install -g @quasar/cli
This process is meant for local development, i.e. changes are immediately reflected.
In one terminal/command prompt, run:
cd java-middle-tier
gradle runLocal
Then in a separate terminal/command prompt, run:
cd java-middle-tier
gradle runQuasarDev
If you don't want to use the default settings for the application you can provide an application-local.properties file in the folder 'java-middle-tier/src/main/resources'
Here you can override properties, it can contain the following:
server.port=[portnr for the UI]
server.servlet.session.timeout=60m
customModulesRoot=[location where you can store custom user functions]
mlDhfRoot=[location of your DHF project]
To use this properties file you can specify the profile on the terminal command:
cd java-middle-tier
gradle runLocal --args='--spring.profiles.active=local'
To build a jar with version information in the filename (aka "dev version"), run
cd pipes/java-middle-tier
gradle buildDevPipes
Resulting jar would be found at java-middle-tier/build/libs/
Click the video for larger size.