🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@marklogic-community/grove-cli

Package Overview
Dependencies
Maintainers
10
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marklogic-community/grove-cli

A command-line tool for generating Grove projects.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
10
Created
Source

MarkLogic Grove CLI (Command Line Interface)

Installation

npm install -g @marklogic-community/grove-cli

This makes the grove command available on your command-line.

Usage

grove new

Generates a new Grove project as a subdirectory of the current directory. The new command offers a choice among project templates. For now, it offers React and Vue options.

Use it by passing your new Project name.

grove new my-app

You can see options for this command by running:

grove new --help

For example, you can pass a --templateVersion. This currently corresponds to a branch or tag name in the template's git repository - though, in the future, it may refer to some other named template version.

grove config

Generates or modifies settings for your application, based on prompts. This is the preferred way to manage configuration files. Run this command from the parent directory of your generated project.

Also: Be sure to check your work into version control before running config, so you can see the changes made and back them out if necessary.

grove config

You can see options for this command by running:

grove config --help

grove demo

This command is intended for very limited use cases. You should not use it for regular application development. It is for quick demonstrations and requires that MarkLogic is already running and initialized, that all dependencies are in place on the machine where it is invoked, that provided ports are available, etc.

Generates a new application (as if you ran grove new), prompts for some configuration (as if you ran grove config), configures MarkLogic, loads sample data, and starts a Grove middle-tier and Webpack development server for front-end assets.

grove demo my-demo

You can see options for this command by running:

grove demo --help

For example, you can pass a --templateVersion. This currently corresponds to a branch or tag name in the template's git repository - though, in the future, it may refer to some other named template version.

Keywords

MarkLogic

FAQs

Package last updated on 28 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts