Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.22 KB

README.md

File metadata and controls

53 lines (38 loc) · 1.22 KB

New Relic One Application Boilerplate

This boilerplate aims to provide a quick start into NR1 application development.

Demonstrates the use of:

  • React Context
  • NR1 components: NerdGraphQuery, NrqlQuery, NerdStorage, Charts, Entity Search etc.
  • Using third party component libraries

Helpful links

Getting Started

Install dependencies

npm i

Regenerate the uuid for your target account

nr1 nerdpack:uuid -gf
or with a specific profile
nr1 nerdpack:uuid -gf --profile=demotron-v2

Running locally

nr1 nerdpack:serve
or with a specific profile
nr1 nerdpack:serve --profile=demotron-v2

Visit https://one.newrelic.com/?nerdpacks=local and ✨

Deploying

nr1 nerdpack:publish [--profile=your_profile_name]
nr1 nerdpack:deploy [-c [DEV|BETA|STABLE]] [--profile=your_profile_name]
nr1 nerdpack:subscribe [-c [DEV|BETA|STABLE]] [--profile=your_profile_name]