NodeJS Deployment
This guide has been reviewed and reformatted for Ruk-Com Cloud PaaS. Screens may vary slightly by platform version.
Click or tap a screenshot to view it at its original size.
Objective
This guide explains how to use NodeJS Deployment on Ruk-Com Cloud PaaS, with ordered procedures and practical verification points.
Before you begin
- Sign in with an account permitted to manage the relevant environment.
- Confirm the target environment, region and resources before saving changes.
- Create a backup or rollback plan before changing a production system.
How to deploy NodeJS via Git



pm2 init simple
module.exports = {
apps : [{
name : "app1",
script : "./ server.js"
}]
}
cd /home/jelastic/ROOT
pm2 start ecosystem.config.js
pm2 save

cd /home/jelastic/ROOT
yarn install
npm run build
pm2 startOrReload ecosystem.config.js

