Coursify
Create New CourseGalleryContact

NextJS

Unit 1
Routing
Routing BasicsRouting AdvancedCustom Routing
Unit 3 • Chapter 1

Deploying Basics

Video Summary

This tutorial is about how to deploy a Next.js application using Vercel and GitHub. To deploy a Next.js application, you need to: 1. Sign up for Vercel. 2. Create a new repository for your project on GitHub. 3. Copy the repository URL from GitHub. 4. In a terminal, run the following commands: ``` git remote add origin <repository URL> git add . git commit -m "Initial commit" git push -u origin main ``` 5. Go to the Vercel dashboard and click "New Project". 6. Select "Import a Git repository" and choose the repository you just created. 7. Click "Deploy". 8. Once the deployment is complete, you can view your website by clicking the "Visit" button.

Knowledge Check

Which of the following is not a hosting platform: GitHub, Vercel, or GitLab?

Which of the following is not a step in the deployment process: push to GitHub, create a new repository, or deploy to Vercel?