Skip to content

armonkolaei/nodejs_proxy_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Setup Instructions for Local Web Server

This guide explains how to set up a Node.js server on an AWS Lightsail instance.


πŸ“ Step 1: Copy Project Files

Move your project files to the appropriate directory (e.g., htdocs):

cp -r your-project /path/to/htdocs
cd /path/to/htdocs

πŸ“¦ Step 2: Install Dependencies

Install the required packages:

sudo npm install
sudo npm install [email protected]

πŸ” Step 3: Install and Use forever

Install forever globally to keep your server running in the background:

sudo npm install -g forever

πŸ’‘ Note: If you are using forever programmatically, also install forever-monitor:

npm install forever-monitor

▢️ Step 4: Start the Server

Navigate to your project directory and run the server:

cd /path/to/your/project
sudo forever start server.js

About

A simple Nodejs Proxy Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published