From 8c3b5058f1e2c30a8017e01b883e3e3b2a4b5feb Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Sat, 6 Aug 2022 10:31:32 +0200 Subject: [PATCH] docs: update vercel cli command (closes #116) --- apps/docs/docs/self-hosting/vercel.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/docs/docs/self-hosting/vercel.md b/apps/docs/docs/self-hosting/vercel.md index 7067d91a9..ce031239d 100644 --- a/apps/docs/docs/self-hosting/vercel.md +++ b/apps/docs/docs/self-hosting/vercel.md @@ -27,7 +27,7 @@ Fork the repository 5. Change the build command to: ```sh - cd ../.. && yarn db:migrate && yarn turbo run build --scope=builder --include-dependencies + cd ../.. && yarn prisma generate && yarn build:builder && DATABASE_URL=$MIGRATION_DATABASE_URL yarn db:migrate ``` 6. Add the required environment variables ([Check out the configuration guide](/self-hosting/configuration)) @@ -42,7 +42,7 @@ Fork the repository 5. Change the build command to: ```sh - cd ../.. && yarn db:migrate && yarn turbo run build --scope=viewer --include-dependencies + cd ../.. && yarn prisma generate && yarn build:viewer && DATABASE_URL=$MIGRATION_DATABASE_URL yarn db:migrate ``` 6. Add the required environment variables ([Check out the configuration guide](/self-hosting/configuration))