Skip to content

Instantly share code, notes, and snippets.

@ranulds
ranulds / mern_hostinger_nginx.md
Last active Jul 5, 2021
MERN + Hostinger + Nginx
View mern_hostinger_nginx.md

Commands to deploy new build

cd to repo
git pull
cd frontend
npm run build
pm2 start index.js
pm2 status
pm2 logs
pm2 flush (Clear logs)