Skip to content

grassfieldk/web-labs

Repository files navigation

Web Labs

Requirements

  • Node.js (v18 or later recommended)
  • npm (v9 or later recommended)

Getting Started

npm install
npm run dev

Build & Production

npm run build
npm run start

Running with PM2

Initial Startup

pm2 start npm --name "web-labs" -- run start

Enable pm2 Auto-Start

pm2 startup
pm2 save

Manual Management

# Restart
pm2 restart web-labs
# Stop
pm2 stop web-labs
# Start
pm2 start web-labs

Change Port or Environment Variables

If you want to change the port or other environment variables, delete the process and re-register:

pm2 delete web-labs
PORT=NEW_PORT pm2 start npm --name "web-labs" -- run start
pm2 save

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors