newrelic / opensource-website

Source code for New Relic's Opensource site.
https://opensource.newrelic.com
Apache License 2.0
155 stars 89 forks source link

Missing local development steps #913

Closed leslie-alldridge closed 2 years ago

leslie-alldridge commented 2 years ago

Description

The readme suggests running:

yarn install
yarn start

And then the website should be running. In my case I see an error instead.

image

Steps to Reproduce

As a first time user of this project on windows 10 (you'll need to export env vars manually) run:

yarn install
yarn start

Expected Behavior

Website to be running on port 8000

Your Environment

jpvajda commented 2 years ago

@roadlittledawn 👋

roadlittledawn commented 2 years ago

@leslie-alldridge looks like that error is coming from the gastby-build-newrelic plugin. specifically looks like maybe you need to add config options it expects? that error is coming from this line which is looking for PLUGIN_OPTIONS.NR_LICENSE_KEY.

here's an example of the opensource site's config

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be automatically closed if no further activity occurs. Thank you for your contributions.