From 3ec9eb377df258d41edfde4d4e089a247df71e57 Mon Sep 17 00:00:00 2001 From: Kavan Gandhi Date: Tue, 13 Jun 2023 02:16:29 +0530 Subject: [PATCH] docs: Added command in manual section (#9433) Co-authored-by: Udit Takkar Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 938c3009be..2d9616fb31 100644 --- a/README.md +++ b/README.md @@ -201,6 +201,14 @@ echo 'NEXT_PUBLIC_DEBUG=1' >> .env 1. Set a 32 character random string in your `.env` file for the `CALENDSO_ENCRYPTION_KEY` (You can use a command like `openssl rand -base64 24` to generate one). 1. Set up the database using the Prisma schema (found in `packages/prisma/schema.prisma`) + In a development environment, run: + + ```sh + yarn workspace @calcom/prisma db-migrate + ``` + + In a production environment, run: + ```sh yarn workspace @calcom/prisma db-deploy ```