BoxLang 🚀 A New JVM Dynamic Language Learn More...

nerd.vision

v1.0.11 CommandBox Modules

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:

NameRequiredDefault Value
apikeyyes
versionnoLATEST
namenohostname
tagsno
enablenotrue

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

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

Optional Configuration

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

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

The version above should be the version of the NerdVision Java agent used. (see available version)

box.json

To add NerdVision to your CommandBox dependecies add it into the box.json file for your application.

The version here should be the version of the NerdVision CommandBox module.

{
  "dependencies":{
    "nerdvision":"1.0.11"
  }
}

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.

$ box install nerdvision

   
  • {{ getFullDate("2020-07-23T12:10:43Z") }}
  • {{ getFullDate("2022-08-10T08:34:12Z") }}
  • 6,961
  • 1,485