From the course: Next.js Ecommerce: Build a Shopping Platform from Scratch

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Initial deployment

Initial deployment

So like I said before, we're going to do something different. We're going to do our initial deployment now. And we're going to just deploy incrementally throughout the course and set up continuous deployment with Vercel so that when we just push to our GitHub repo, Vercel will just automatically redeploy. And that's what I would do in a real life project. So I wanted to do it that way in this course. Now, you're going to have to obviously create a GitHub account. sure most of you already have that, and then create a repo for this project. And then you're going to want to push to it. But before we do that, let's go ahead and just stop your server for the moment. And let's run npm run build. And let's build for production locally, just so we can see if everything goes OK. Because you want to do this before you actually try to push to Vercel, or push to GitHub, and then import to Vercel. And it looks like this is going to go OK. But if you get any weird errors, just look into them, see…

Contents