Step 4. Running the script

F Firebase, Syncing and Functions / Shopify Last updated on Updated  May 23, 2019

Before you have installed pm2. With this program the node js program will run when you close your terminal. 

To see what process is running enter

pm2 list

To start the process enter

pm2 start index.js --name shopify

This will start the process

To stop the process enter

pm2 stop shopify