feat: add PM2 configuration and deployment setup for remote server

- Add Makefile with convenient PM2 commands for development and production
- Add ecosystem.config.js with production/staging/dev environment configurations
- Add comprehensive PM2-GUIDE.md documentation for deployment
- Update package.json with PM2-specific npm scripts
- Fix Chrome extension URL handling to omit standard ports (443/80)
- Hide embedding model and semantic engine sections in popup UI
This commit is contained in:
nasir@endelospay.com
2025-08-22 00:21:10 +05:00
parent a6b98176a4
commit f4ca680532
6 changed files with 466 additions and 5 deletions

View File

@@ -13,7 +13,15 @@
"test": "jest",
"lint": "eslint 'src/**/*.{js,ts}'",
"lint:fix": "eslint 'src/**/*.{js,ts}' --fix",
"format": "prettier --write 'src/**/*.{js,ts,json}'"
"format": "prettier --write 'src/**/*.{js,ts,json}'",
"pm2:start": "npm run build && pm2 start ecosystem.config.js",
"pm2:stop": "pm2 stop mcp-remote-server",
"pm2:restart": "pm2 restart mcp-remote-server",
"pm2:reload": "pm2 reload mcp-remote-server",
"pm2:delete": "pm2 delete mcp-remote-server",
"pm2:status": "pm2 status",
"pm2:logs": "pm2 logs mcp-remote-server",
"pm2:monit": "pm2 monit"
},
"keywords": [
"mcp",