CMS codebase documentation
GitHubGitHub (opens in a new tab)
  • Introduction
  • Dashboard Codebase
    • Get Started
      • Overview
      • Prerequisites
      • Getting Started
      • Folder Stucture
      • Middleware
      • Naming Convention
      • Utilities
    • Third Party Packages
      • Overview
      • Packages Used
        • Emotion
        • Day.js
  • Web App Codebase
    • Get Started
      • Overview
  • Security Headers
  • Code Commenting
  • Deployment
  • Introduction
  • Dashboard Codebase
    • Get Started
      • Overview
      • Prerequisites
      • Getting Started
      • Folder Stucture
      • Middleware
      • Naming Convention
      • Utilities
    • Third Party Packages
      • Overview
      • Packages Used
        • Emotion
        • Day.js
  • Web App Codebase
    • Get Started
      • Overview
  • Security Headers
  • Code Commenting
  • Deployment
Deployment

Deployment Setup

First, install the necessary packagess:

yarn

then, generate build file:

yarn build

run the build file

yarn start

listen to the 3000 port (default) through PM2 service:

PORT=3000 pm2 start --name project_name yarn -- start
Code Commenting

MIT 2024 © Nextra.