From e1ad9f0acfa02bb86dfd68301352d979158c71ca Mon Sep 17 00:00:00 2001 From: Steffen Dietz Date: Wed, 5 May 2021 21:28:20 +0000 Subject: [PATCH] add README remove todo --- README.md | 33 +++++++++++++++++++ .../controllers/StatusController.java | 1 - 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..61004e0 --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# Elite: Dangerous - Companion + +A web based personal companion. It uses a spatial database under the hood to answer questions. +Ideally before you already know you have them. + +## Goals + +Its goal should be to know where you are ... + +* ... and propose profitable trade routes in the vicinity. +* ... and what you are carrying and where to sell it for the most profit. +* ... and which bounties and fines you have and where the nearest Interstellar Factors is. + +### Running + +1. download https://eddb.io/archive/v6/systems_populated.jsonl to `/home/vscode/systems_populated.jsonl` +```shell +# wget --compression=gzip -O /home/vscode/systems_populated.jsonl https://eddb.io/archive/v6/systems_populated.jsonl +``` + +2. download https://eddb.io/archive/v6/stations.jsonl to `/home/vscode/stations.jsonl` +```shell +# wget --compression=gzip -O /home/vscode/stations.jsonl https://eddb.io/archive/v6/stations.jsonl +``` + +3. run backend server +```shell +# ./mvnw spring-boot:run +``` + +4. run frontend server +```shell +``` \ No newline at end of file diff --git a/src/main/java/io/dietz/ed/companion/controllers/StatusController.java b/src/main/java/io/dietz/ed/companion/controllers/StatusController.java index 451dae2..1bbfd06 100644 --- a/src/main/java/io/dietz/ed/companion/controllers/StatusController.java +++ b/src/main/java/io/dietz/ed/companion/controllers/StatusController.java @@ -38,7 +38,6 @@ public class StatusController { updateFeedItem.setContent(Long.valueOf(payload.getCredits())); updateChannelsService.sendFeedUpdate(updateFeedItem); } catch (JsonProcessingException e) { - // TODO Auto-generated catch block e.printStackTrace(); } }