Next.js Discord

Discord Forum

How to deploy NextJS App on my own Server

Unanswered
French Angora posted this in #help-forum
Open in Discord
French AngoraOP
I have build an App in NextJS and now I wanna host it on my own Server. I try to do this with Azure DevOps CI/CD. I added the Server as an Agent but now Im stuck because I dont really know how to go on. I read that "pm2" is the best way to do this (is it?). So I installed pm2 on the server but I cannot really start the App with pm2. I try to do this first with the server terminal before I add the commands to the pipeline. Can anyone help me out?

0 Replies