/Vatsim-Flight-Map

Vatsim / IVAO online map

Primary LanguageJavaScriptMIT LicenseMIT

Build Status

Vatsim Flight Map

Vatsim aircrafts and ATC on the live map: https://vatmap.jsound.org/

Requirements

Webserver with PHP support

Mapbox API key

Request API key for maps: https://docs.mapbox.com/help/glossary/access-token/ after that, add your api key to the prod.js file.

Build

Install required dependencies:

$ cd ~
$ curl -sL https://deb.nodesource.com/setup_14.x -o nodesource_setup.sh
$ sudo bash nodesource_setup.sh
$ sudo apt install nodejs
$ sudo npm install webpack-cli -g
$ sudo npm install webpack -g
$ sudo apt install memcached php-cli php-xml php-memcache

Build web app:

$ npm install
$ webpack

Parser scripts:

$ cd vatsim_parser
$ ./parse.php vatsim   #add cron job to parse every 2 minutes
$ ./parse.php ivao     #add cron job to parse every 5 minutes

License

MIT License