From a0d950848d3699e72bc267639bfd6400bc38d7e1 Mon Sep 17 00:00:00 2001 From: Emile Date: Mon, 23 Sep 2019 13:15:38 +0200 Subject: updated the README added a section describing how to populate the cache --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 8fee107..677c2a9 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ http api returning TLEs as json ## Setup +### Run the server + standalone: `go run . -p ` @@ -15,6 +17,12 @@ $ docker build . -t tle2json $ docker run -p :8080 tle2json ``` +### Populate the cache + +By accessing the `/dumpall` endpoint, you can download all the TLEs populating +the cache. The next time the file containing the TLE needs to be accessed, it +doesn't need to be downloaded resulting in somwhat faster results. + ![](imgs/out.png) ## API -- cgit 1.4.1