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.json
and rename it toDBconfig.json
-
Change
user
andpassword
inDBconfig.json
-
Go to
Release
and run commandnpm install
-
Go to
Release/public
and run commandbower install
-
Type in command:
node Release/BaiduMap/app.js
-
Create a folder
log
in Proxy -
Type in command:
node Proxy/Proxy.js
app.js
has created a server listening on port 3001
web page url: localhost:3001