Skip to content
forked from WatWowMap/MapJS

Drop in NodeJS replacement to RealDeviceMap UI map.

Notifications You must be signed in to change notification settings

sabregreen/MapJS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MapJS

NodeJS Map clone replacement for RealDeviceMap

Installation

1.) Clone repository git clone https://github.com/versx/MapJS
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.) git pull
2.) Run npm install in root folder
3.) Run npm start

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: 'MapJS',
    script: 'index.js',
    cwd: '/home/username/MapJS/src/',
    instances: 1,
    autorestart: true,
    watch: false,
    max_memory_restart: '2G',
    out_file: 'NULL'
  }
  ]
};

TODO

  • Include S2Cell/Weather polgyons in api data
  • Fix pokemon IV filtering
  • Implement submission cells

Credits

RealDeviceMap

About

Drop in NodeJS replacement to RealDeviceMap UI map.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 74.6%
  • JavaScript 25.4%