npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@marklogic-community/grove-ml-gradle

v1.0.0

Published

Gradle plugin to support automating MarkLogic tasks for Grove

Downloads

4

Readme

Grove-ml-gradle

This Grove app is meant to support configuration of MarkLogic databases, app-servers, users, roles, etc. It also supports deployment of application code, and import of content.

System requirements

The following someware must be pre-installed:

Also used, but downloaded and installed automatically:

  • MarkLogic Content Pump - MarkLogic data import tool (included via Gradle)
  • Gradle 4.8 - Build tooling for the Java ecosystem (included using gradle-wrapper)
  • ml-gradle: The actual MarkLogic configuration deploy tool (included via Gradle)

Quick Start (for the Impatient)

On Mac or Linux:

./gradlew mlDeploy
./gradlew loadSampleData

On Windows:

gradlew.bat mlDeploy
gradlew.bat loadSampleData

Setting up the target enviroment

This deployment tool has been configured to look inside gradle.properties for the default settings. Next to that, it will look for environment specific settings via the environmentName variable. Adding -PenvironmentName=dev to any gradle call will cause the tool to look for a gradle-dev.properties for overrides or extra settings. The environmentName variable defaults to local, so by default any gradle call will look for gradle-local.properties.

Note: gradle-local.properties is gitignored by default, use it for settings specific to your own development environment, like your personal laptop.

Deploy your Application

Run the following ml-gradle commands to deploy the application to the chosen MarkLogic installation. It will create and configure databases, REST servers, users, and roles for you, and deploy the back-end application code.

./gradlew mlDeploy -PenvironmentName=[local|dev|prod]

Or on Windows:

gradlew.bat mlDeploy -PenvironmentName=[local|dev|prod]

Loading Sample Data (optional)

The application comes with 3000 JSON documents generated by json-generator.com. They will allow you to explore all the features you get out of the box in a better way. You can load them with (MLCP)[https://docs.marklogic.com/guide/ingestion/content-pump] using ml-gradle.

./gradlew loadSampleData

Or on Windows:

gradlew.bat loadSampleData