diff --git a/apps/docs/app/developer-docs/contributing/get-started/page.mdx b/apps/docs/app/developer-docs/contributing/get-started/page.mdx index 682bb7170d..87e3f5deac 100644 --- a/apps/docs/app/developer-docs/contributing/get-started/page.mdx +++ b/apps/docs/app/developer-docs/contributing/get-started/page.mdx @@ -94,8 +94,8 @@ cp .env.example .env 4. Generate & set some secret values mandatory for the `ENCRYPTION_KEY`, `NEXTAUTH_SECRET` and `CRON_SECRET` in the .env file. You can use the following command to generate the random string of required length: - For Linux - - + + ```bash sed -i '/^ENCRYPTION_KEY=/c\ENCRYPTION_KEY='$(openssl rand -hex 32) .env @@ -107,8 +107,8 @@ sed -i '/^CRON_SECRET=/c\CRON_SECRET='$(openssl rand -hex 32) .env - For Mac - - + + ```bash sed -i '' '/^ENCRYPTION_KEY=/s|.*|ENCRYPTION_KEY='$(openssl rand -hex 32)'|' .env