Deployment Setup
First, install the necessary packagess:
yarnthen, generate build file:
yarn buildrun the build file
yarn startlisten to the 3000 port (default) through PM2 service:
PORT=3000 pm2 start --name project_name yarn -- startFirst, install the necessary packagess:
yarnthen, generate build file:
yarn buildrun the build file
yarn startlisten to the 3000 port (default) through PM2 service:
PORT=3000 pm2 start --name project_name yarn -- start