Skip to content

Asadullahkhankaimkhani/Node.js-AWS-Setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Node.js Production Environment Setup

Installation

Step 1: Install Gcc-c++ maker

sudo yum install -y gcc-c++ make

Step 2: Get nodejs 16 version

curl -sL https://rpm.nodesource.com/setup_16.x | sudo -E bash -

Step 3: Install Node.js

sudo yum install -y nodejs

Step 4: Install Git (Optional)

sudo yum install git -y

Step 5: Install PM2

sudo npm install -g pm2 

Usage

React App Build Version PORT = 3000

pm2 serve build PORT --spa 

Node.js Server

pm2 start index.js / server.js

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •