Learning Center
Learning Center
  • HTML
  • CSS
  • JAVASCRIPT
  • Bootstrap
  • React
  • jQuery
  • NodeJs
  • Sql
  • MySql
  • Python
  • OpenVPN Setup
  • Log In
Coding Choice Home About Contact ☰

  1. You are here
  2. Home
  3. nodejs
  4. deploying_application

Sidebar
  • Introduction
  • Getting Started
  • First Application
  • Modules in NodeJs
  • Create Web Server
  • ExpressJs
  • Databases in NodeJs
  • Asynchronous Programming
  • Building REST API
  • WebSockets
  • Deploying Application
  • Share via
    • Share via...
    • Twitter
    • LinkedIn
    • Facebook
    • Pinterest
    • Telegram
    • WhatsApp
    • Yammer
    • Reddit
    • Teams
  • Send via e-Mail
  • Print
  • Permalink

Deploying a Node.js Application

Using PM2 to Manage Processes

Install PM2:

npm install -g pm2

Start the server with PM2:

pm2 start app.js