Config and enviroment(.env) files
Gatsby uses a standard to define enviroment variables on his code.
You can provide environment variables to your site to customize its behavior in different environments. Gatsby Boilerplate offers two possible files: .env.production which is used to set environment variables on production and .env.development that can be used to set environment variables on development.
Gatsby Boilerplate uses the following environment variables:
ALGOLIA_API_KEYis used to set the API Key for Algolia search service.ALGOLIA_INDEX_NAMEis used to set another one necessary Algolia credential to use the service.GA_TRACKING_IDis used to set the tracking ID for Google Analytics track your app usinggatsby-google-analyticsplugin.GITHUB_REPOis used to make references of a repo that have been passed to some components like Footer, Navigation...PROJECT_NAMEis used to define some titles on the page. Default value:Gatsby Boilerplate.WEDEPLOY_AUTH_SERVICE_URLis used to set your WeDeploy auth service URL. More info on this linkWEDEPLOY_MASTER_TOKENis used to set your WeDeploy project's master token.
For more information to improve this file, check this guide.