This version of the documentation is related to Vue Storefront V1 and is marked as deprecated. For the current (v2) docs, visit the recent version.

Run the PM2 process manager

Storefront Cloud uses the pm2 (opens new window) process manager to run both: vue-storefront and vue-storefront-api.

You may use most of the standard PM2 features by running:

node scripts/cli.js pm2 --pod=front

or

node scripts/cli.js pm2 --pod=api