- (Optional) Create a post merge hook for automatically updating secrets upon
git pullNote: If you recieve permission denied errors, provide executable permissions on the setup script (Resolve using command below if you are on Mac OS)./scripts/setup.sh "kv/project-read" "main"
chmod +x ./scripts/setup.sh
- Make a copy of
.env.samplenamed.env - Pull secrets into
.envby runningIf you get an error likevault kv get -format=json kv/project-read | python scripts/update_secret_files.pyFile location for key <ENV_KEYS> was not found.you can safely ignore that.
In the project directory, run yarn.
In the project directory, run yarn start to run the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits, and you will also see any lint errors in the console.
yarn run eslint --fix .
yarn prettier --write .