iconDirEasy
Deployment

Overview

Learn how to deploy your DirEasy application.

In general you can deploy the application to any hosting provider that supports Node.js. In this documentation we cover multiple deployment targets from serverless platforms like Vercel to self-hosted solutions with Docker.

Since Next.js is a framework built by Vercel, you will get the best developer experience when deploying to Vercel.

Project setting

To deploy DirEasy on any hosting provider, you need to select your github repository. This should automatically detect the Next.js setup and as such, the build command and output directory.

Then, add all your environment variables to the project.

Finally, just hit Deploy and Vercel will take care of the rest!

Environment variables

Copy and paste the environment variables from the .env file to the Environment Variables section.

You should double-check each value and replace it with the environment variables of your production environment

First deployment may fail

The first time this may fail if you don't place all the environment variables correctly. It's fine. Make the first deployment fail, then correct the environment variables. Redeploy.

On this page