Back to Deploy

Panel Deployment

Download the index.js file for your control panel

Session ID

The script will be generated with your session ID pre-filled

Panel Scripts

NodeJS v4

Legacy version with auto-restart

NodeJS v5

Latest Node.js script

PM2 v4

PM2 process manager (legacy)

PM2 v5

PM2 process manager (latest)

Script Preview

// Edit SESSION_ID below
const SESSION_ID = 'your_session_id';

// Clones https://github.com/pgwiz/PGWIZ-MD
// Creates config.env automatically
// Installs dependencies and starts