From the course: Developing RAG Apps with LlamaIndex and Next.js

Unlock this course with a free trial

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

Hands-on: Deploying our Next.js full-stack chat app to Vercel

Hands-on: Deploying our Next.js full-stack chat app to Vercel

From the course: Developing RAG Apps with LlamaIndex and Next.js

Hands-on: Deploying our Next.js full-stack chat app to Vercel

All right. So now I'm going to show you how you would deploy this Next.js application based on Llama Index, of course, into Vercel. Right. Vercel is the company that created Next.js and many other technologies there. And they also have a way for us to deploy applications really, really easily. And so what we'll do here, you'll see that, first of all, we need to look at the .env file. This has all this information, but most importantly, it will have the OpenAI API key that it's been used for this application. Remember, this is what we added when we were creating this app. And so, if we, because of the nature of things, in order for us to deploy this to Verso, we will need to, of course, to have pushed this, to actually push this to a Git repository that we will create in a bit. Okay, so Git is already set up whenever you create, in this case, a Next.js application. But most importantly, for us to bypass the now there's a security measure that was added to get where if we if it detects…

Contents