Vercel
How to deploy DirEasy to Vercel.
Vercel is the easiest way to deploy Next.js apps. It's the company behind Next.js and has first-class support for Next.js.
This guide will show you how to deploy your DirEasy website to Vercel.
Setup vercel account
To host your project on Vercel you first have to create an account.
Connect your git repository
After signing up you will be promted to import a git repository. Select the git provider of your project and connect your git account with Vercel.
Now you will see a list of all your projects. Select the project you want to deploy and click on the Import button.
Environment variables
Copy and paste the environment variables from the .env
file to the Environment Variables section. Then click the Deploy button and your project will be deployed.
Set the domain
Add the domain you want to use in the Domains
section, and add the DNS records to your domain provider, then wait for the DNS records to take effect.
Set the Function Max Duration (Optional)
Settings/Functions
section.