Best setup for parse server on nginx using pm2

#1

I was wondering if anyone has scripts for parse server installation on nginx using pm2. Guides I’ve tried arent working any more. I’ll post my script on here soon when I get home.

#2

Maybe this helps:

#3

This is amazing way better than what I have
lol
Thank you, I will try this out

#!/bin/sh

sudo apt-get update

curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh

sudo -E bash ./nodesource_setup.sh

sudo apt-get install -y nodejs

sudo apt-get install -y build-essential

npm install -g pm2

sudo npm install -g parse-dashboard

npm install -g express

npm install -g parse-server-onesignal-push-adapter

sudo npm install -g parse-server pm2