install as a service
BACKEND
pm2 start yarn --name "vision-backend" --interpreter bash -- start:prod
cd .. && cd home && cd vision-inmobiliaria-nest && yarn deploy
yarn install && yarn build
pm2 stop nestjs
pm2 start nestjs
pm2 logs nestjs
install as a service
BACKEND
pm2 start yarn --name "vision-backend" --interpreter bash -- start:prod
cd .. && cd home && cd vision-inmobiliaria-nest && yarn deploy
yarn install && yarn build
pm2 stop nestjs
pm2 start nestjs
pm2 logs nestjs