This project fetches online APRS(Automatic Packet Reporting System) data and displays them on Baidu map.
Go to Release folder first.
cd Release-
Start mysql database service
-
Type command:
mysql -u "Your username" < init.sql-
Read version number in
init.sql -
If version number is different from your old
init.sql, runDB_upgrade\convert_(oldversion)to(newversion)to upgrade to new version. (if convert file is not available, drop database and init it again)
-
Copy
DBconfig.default.jsonand rename it toDBconfig.json -
Change
userandpasswordinDBconfig.json
-
Go to
Releaseand run commandnpm install -
Go to
Release/publicand run commandbower install
-
Type in command:
node Release/BaiduMap/app.js -
Create a folder
login Proxy -
Type in command:
node Proxy/Proxy.js
app.js has created a server listening on port 3001
web page url: localhost:3001