Skip to content

AlisterBaroi/strapi-5-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

Strapi 5 Deployment to Debian 12 VM (CLI Installation)

1. Install using CLI

1.1 Setup

  1. Update the system
    sudo apt update && sudo apt update
    
  2. Install Node.Js and NPM (Node Package Manager)
    sudo apt install nodejs npm
    
  3. Create Strapi project
    npx create-strapi@latest
    

1.2 Run in Development Mode

  1. Build and Run in Dev Mode
    npm run develop
    
  2. Just Build
    npm run build
    
  3. Just Start
    npm run start
    

1.3 Production Deployment

  1. Build for production
    NODE_ENV=production npm run build
    
  2. Deploy at production
    NODE_ENV=production npm run start
    

About

A step-by-step tutorial on deploying Strapi 5 CMS to Linux (Debian 12).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published