Issues can be filed here. Pull requests can be made in this repo.
The service's gRPC description can be found here.
Either use the prebuilt Docker images and pass the appropriate env vars (see below), or:
- Install Go, clone this repo into your gopath
- Get and run esi-markets
- Set the ESI_MARKETS_HOST environment variable (see below)
go get ./...to fetch the service's dependencies
bash generateProto.shto generate the necessary gRPC-related code
go buildto build the service
./top-stationsto start the service
Now a gRPC server will listen on port
43000 unless configured otherwise, serving stats data once it has been generated.
|CRON||@hourly||Stats refresh interval|
|DB_PATH||/data/top-stations.db||DB persistence path|
|LOG_LEVEL||info||The service's log level|
|ESI_MARKETS_HOST||esi-markets.element43.svc.cluster.local:43000||Host/port of the esi-markets instance to be used|
|PORT||43000||Port the gRPC server will listen on|