mirror of
https://github.com/StanGirard/quivr.git
synced 2024-11-22 11:33:57 +03:00
Update Vercel deployment instructions and add source directory change
This commit is contained in:
parent
ac75d72f7f
commit
f7bf0f155d
@ -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)
|
||||
|
||||
|
||||
|
BIN
docs/images/vercel-source.png
Normal file
BIN
docs/images/vercel-source.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 419 KiB |
Loading…
Reference in New Issue
Block a user