How do you self host your projects in a vps
without relying on any cpanel or vercel,
i have a vps and i usually move the project using git and run yarn build then yarn start
i also sat up a systemd service that handles keeping that website running
so my process of upgrading the site would be to ssh into it and then run yarn build
but after some testing, i found out that while the build is running, i can't access the website, and or if the build fails the website breaks.
i saw something in the vercel cli where it builds it then if the build is successful it outputs it into "out" folder
then it runs it from there.
is there a way to do that without involving needing vercel
i have a vps and i usually move the project using git and run yarn build then yarn start
i also sat up a systemd service that handles keeping that website running
so my process of upgrading the site would be to ssh into it and then run yarn build
but after some testing, i found out that while the build is running, i can't access the website, and or if the build fails the website breaks.
i saw something in the vercel cli where it builds it then if the build is successful it outputs it into "out" folder
then it runs it from there.
is there a way to do that without involving needing vercel


