NVM should be installed; an .nvrmc
file is provided.
This project currently uses Node v14.21.2, with npm version 6.14.17.
- Login to dotenv-vault:
npx dotenv-vault login
- In the browser that's opened on success; log in to generate a local
.env.me
- After that, run
npx dotenv-vault open
to access this project's.env
files - Pull down the
.env
files (they're the same):-
npx dotenv-vault pull npx dotenv-vault pull production
-
As of 20-Dec-2022, the dotenv
vault key method does not work, likely due to outdated gatsby-plugin-netlify
in use.
- Add the
GATSBY_
prefixed environment variables to theapp.netlify
page. - Deploy the site.