Elite Dangerous Data Aggregator is a EDDN data collector that saves commodity/outfitting/shipyard data into MongoDB database and REST API service to query that data
Build Dependencies:
- ZeroMQ v4.x
Build using stack:
stack build
Create new database called edda in MongoDB with indexes:
use edda
db.systems.createIndex({edsmId: 1})
db.systems.createIndex({systemName: 1})
db.stations.createIndex({systemName: 1, stationName: 1}, {unique: true})
db.stations.createIndex({systemName: 1})
db.stations.createIndex({stationName: 1})
db.stations.createIndex({eddbId: 1})
Configure:
vi edda.conf
Import initial systems/stations backup from EDDB:
stack exec edda -- import -s eddb -t systems
stack exec edda -- import -s eddb -t stations
Start edda data collector:
stack exec edda -- start
Stop edda data collector:
stack exec edda -- stop
Start edda REST API service:
stack exec edda -- startRest
Stop edda REST API service:
stack exec edda -- stopRest
See also:
stack exec edda -- --help