Scheduling infrastructure for absolutely everyone.
Handy shortcut to start Prisma Studio (#1921)
Demian Caldelasb3ada7c25c0d
diff --git a/README.md b/README.mdindex d7528741048..45723a9fe40 100644--- a/README.md+++ b/README.md@@ -178,7 +178,7 @@ yarn dx1. Open [Prisma Studio](https://www.prisma.io/studio) to look at or modify the database content:```sh- yarn prisma studio+ yarn db-studio```1. Click on the `User` model to add a new user record.diff --git a/apps/docs/pages/self-hosting/install.mdx b/apps/docs/pages/self-hosting/install.mdxindex e627c195e01..da881b65a60 100644--- a/apps/docs/pages/self-hosting/install.mdx+++ b/apps/docs/pages/self-hosting/install.mdx@@ -108,7 +108,7 @@ yarn dx1. Run (in development mode)```sh- yarn dev --scope=@calcom/web+ yarn dev```### Setting up your first user@@ -116,7 +116,7 @@ yarn dx1. Open [Prisma Studio](https://www.prisma.io/studio) to look at or modify the database content:```sh- npx prisma studio+ yarn db-studio```1. Click on the `User` model to add a new user record.diff --git a/apps/docs/pages/self-hosting/vercel.mdx b/apps/docs/pages/self-hosting/vercel.mdxindex e60fc518d52..b92daf79c4c 100644--- a/apps/docs/pages/self-hosting/vercel.mdx+++ b/apps/docs/pages/self-hosting/vercel.mdx@@ -30,7 +30,7 @@ You need a PostgresDB database hosted somewhere. [Heroku](https://www.heroku.com5. Open [Prisma Studio](https://www.prisma.io/studio) to look at or modify the database content:```- npx prisma studio+ yarn db-studio```6. Click on the `User` model to add a new user record.7. Fill out the fields (remembering to encrypt your password with [BCrypt](https://bcrypt-generator.com/)) and click `Save 1 Record` to create your first user.@@ -42,5 +42,5 @@ You need a PostgresDB database hosted somewhere. [Heroku](https://www.heroku.com1. Import from your forked repository1. Set the Environment Variables1. Set the root directory to `apps/web`-1. Override the build command to `cd ../.. && npx turbo run build --scope=@calcom/web --include-dependencies --no-deps`+1. Override the build command to `cd ../.. && yarn build`1. Hit Deploydiff --git a/package.json b/package.jsonindex d0bacc2b02d..42403092391 100644--- a/package.json+++ b/package.json@@ -11,6 +11,7 @@"clean": "turbo run clean && rm -rf node_modules","db-deploy": "turbo run db-deploy","db-seed": "turbo run db-seed",+ "db-studio": "yarn workspace @calcom/prisma db-view","deploy": "turbo run deploy","dev": "turbo run dev --scope=\"@calcom/web\"","docs-dev": "turbo run dev --scope=\"@calcom/docs\"",diff --git a/packages/prisma/package.json b/packages/prisma/package.jsonindex 869bb56dac5..d63d08147e0 100644--- a/packages/prisma/package.json+++ b/packages/prisma/package.json@@ -11,6 +11,7 @@"db-reset": "run-s db-nuke db-setup","db-seed": "yarn prisma db seed","db-setup": "run-s db-up db-deploy db-seed",+ "db-studio": "yarn prisma studio","db-up": "docker-compose up -d","deploy": "run-s build db-deploy","dx": "yarn db-setup",