Quiz-PDF/Documentation/docs/NEW/Row II/Frontend to Backend.md

256 KiB

How to Deploy and Style Your Application

Deploying and styling your application can seem daunting, but with a clear step-by-step process, it becomes much more manageable. This guide will walk you through the steps to disconnect from Vercel, connect to a new repository, set up environment variables, create a new deployment, and finally, make changes to style your application.

Click to watch the video

Step 1: Disconnect from Vercel

To start, you need to disconnect your current setup from Vercel. This ensures that you can connect to the new repository without any conflicts.

Disconnect from Vercel - 3 Navigate to your Vercel project settings and locate the "Connected Git Repository" section. Click the "Disconnect" button next to your current repository to disconnect it.

Step 2: Connect to the New Repository

Next, connect your application to the new repository. This will be your core repository for launching the application.

Connect to Repository - 13 In the same "Connected Git Repository" section, search for and select your new repository. Click "Connect" to establish the connection.

Step 3: Set Up Environment Variables

Before proceeding, ensure that all required environment variables are set up. This includes variables for tools like PostHog and any other necessary configurations.

Set Up Environment Variables - 27