Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

intergral/nerdvision-commandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Join us on Discord Version Downloads Maven Central

nerdvision-commandbox

This module adds support to enable nerd.vision on the servers you start inside CommandBox.

Installation

box install nerdvision

Configuration

The module has the following configuration properties:

Name Required Default Value
apikey yes
version no LATEST
name no hostname
tags no
enable no true

You can set an apikey to the nerd.vision module like so:

box config set modules.nerdvision.apikey=<your api key>

Set the other properties in the same way as required, e.g.

box config set modules.nerdvision.version=2.0.4
box config set modules.nerdvision.name="My nerd.vision App"
box config set modules.nerdvision.tags="foo=bar; level=42"

box.json

Add nerdvision to your box.json as a dependency to ensure that the module is installed.

{
  "dependencies":{
    "coldbox":"^6.4.0+1513",
    "nerdvision":"1.0.5"
  }
}

server.json

To use this module with server.json you can add the following to the root of the file:

{
  "nerdvision": {
    "apikey": "${NV_API_KEY}",
    "name": "${NV_NAME:commandbox}",
    "tags": "${NV_TAGS:''}"
  }
}

Usage

After having set at least an apikey the nerd.vision agent will be downloaded and added to your server when you start the server with

box server start

The download will only be done if the nerdvision.jar file cannot be found in the expected location.

Once you server is running login to nerd.vision and add a workspace for you application. Visit the nerd.vision - Docs site for additional information.

Uninstall

The module does currently not provide logic to automatically uninstall nerd.vision from your server. To do this manually open your CommandBox servers.json file find the JVMArgs property and

  • delete the nv/ directory inside your server home directory as shown in the JVMargs value
  • remove the nerd.vision agent configuration from the JVMargs

The same steps are required if you want to change to a different version of nerd.vision.

Support

To get support using nerdvision or the commandbox module please contact nerd.vision via email ([email protected]) or join us on Discord.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published