Update Vercel deployment instructions and add source directory change

This commit is contained in:
Stan Girard 2024-04-30 12:30:03 +02:00
parent ac75d72f7f
commit f7bf0f155d
2 changed files with 8 additions and 2 deletions

View File

@ -3,8 +3,6 @@ title: Deploy with Vercel
description: Deploy your Quivr frontend with Vercel
---
# Deploy with Vercel
Vercel is a cloud platform that enables developers to host websites and web services that deploy instantly. You can deploy your Quivr frontend on Vercel by following the steps below.
## Click on this button
@ -14,12 +12,14 @@ Vercel is a cloud platform that enables developers to host websites and web serv
## Setup the Environment Variables
```yaml
NEXT_PUBLIC_ENV=prod
NEXT_PUBLIC_BACKEND_URL=<your backend url>
NEXT_PUBLIC_SUPABASE_URL=<your supabase url>
NEXT_PUBLIC_SUPABASE_ANON_KEY=<your supabase anon key>
NEXT_PUBLIC_CMS_URL=https://cms.quivr.app
NEXT_PUBLIC_FRONTEND_URL=<your frontend url>
```
## Deploy the Application
@ -27,4 +27,10 @@ NEXT_PUBLIC_FRONTEND_URL=<your frontend url>
2. Select the branch you want to deploy (e.g., `main`).
3. Click "Deploy".
## Change source directory
Then go to your settings for the project and change the source directory to `frontend`:
![Change source directory](/images/vercel-source.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 419 KiB