Skip to content

versx/WhMgr-UI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js CI Lint

GitHub Release GitHub Contributors Discord

Webhook Manager User Interface

Web interface to manage subscriptions for WhMgr custom member subscriptions for Pokemon, PvP, Raids, Quests, Lures, Invasions, and Gyms.

Installation

  1. Clone repository git clone https://github.com/versx/WhMgr-UI
  2. Install dependencies npm install
  3. Copy config cp src/config.example.json src/config.json
  4. Create a Discord bot at https://discord.com/developers and enter the botToken, clientId, and clientSecret in your config.json
  5. Fill out config vi src/config.json
  6. Run npm start
  7. Access via http://machineip:port/ login using your Discord account

Updating

  1. Run git pull
  2. Run npm run update

PM2 (recommended)

Once everything is setup and running appropriately, you can add this to PM2 ecosystem.config.js file so it is automatically started:

module.exports = {
  apps : [
  {
    name: 'WhMgr-UI',
    script: 'index.js',
    cwd: '/home/username/WhMgr-UI/src/',
    instances: 1,
    autorestart: true,
    watch: false,
    max_memory_restart: '1G',
    out_file: 'NULL'
  }
  ]
};

Previews

Main Page
Pokemon Page
Add Pokemon Page