From f20a5df32273011e1d13c4e33e72eac46102ac16 Mon Sep 17 00:00:00 2001 From: shaharyarshamshi Date: Thu, 18 May 2023 03:41:28 +0530 Subject: [PATCH] Guide to setup enviroment variable added in contributing mardown file (#8911) * Guide to setup enviroment variable added in contributing mardown file * linting error * Update CONTRIBUTING.md * linting error --------- Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com> --- CONTRIBUTING.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 80ca94703f..b1fa0b03e1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -86,7 +86,12 @@ To develop locally: yarn ``` -5. Start developing and watch for code changes: +5. Set up your `.env` file: + + - Use `openssl rand -base64 32` to generate a key and add it under `NEXTAUTH_SECRET` in the `.env` file. + - Use `openssl rand -base64 24` to generate a key and add it under `CALENDSO_ENCRYPTION_KEY` in the `.env` file. + +6. Start developing and watch for code changes: ```sh yarn dev