helium / network-explorer

https://explorer.helium.com
Apache License 2.0
53 stars 27 forks source link

Use environment variables for mapbox styles #8

Closed mugoosse closed 1 year ago

mugoosse commented 1 year ago

This PR adds configurability of the map styles through environment variables.

mugoosse commented 1 year ago

@jthiller I made the styles public (as it doesn't bear a cost using them) and added them to the .env.example file. That way when developers to through the readme when setting up the project, they will have them already available after running cp .env.example .env.local I also updated the readme file to say that a mapbox access key is needed.