summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.pik/run.sh4
-rw-r--r--README.md9
2 files changed, 8 insertions, 5 deletions
diff --git a/.pik/run.sh b/.pik/run.sh
index 2031c02..917e97e 100644
--- a/.pik/run.sh
+++ b/.pik/run.sh
@@ -2,5 +2,5 @@
set -euo pipefail
TMP="$(mktemp -d)"
go build -tags duckdb "$@" -o "$TMP/sts2s" .
-cd "$LOC"
-"$TMP/sts2s" --database "$TMP/db" \ No newline at end of file
+export XDG_CACHE_HOME="$TMP"
+"$TMP/sts2s" --profile "$PROFILE" --database "$TMP/db" \ No newline at end of file
diff --git a/README.md b/README.md
index 24005b3..b874a67 100644
--- a/README.md
+++ b/README.md
@@ -4,9 +4,12 @@ this project requires go 1.23
if you have it, build the package (`pik build` or `bash .pik/build.sh`)
-sts2stats needs to be executed in your profile folder:
-* `cp ./sts2stats /home/$USER/.local/share/SlayTheSpire2/steam/$STEAMID/profile1/`
+sts2stats needs to be pointed to your profile folder:
+* `./sts2stats --profile /home/$USER/.local/share/SlayTheSpire2/steam/$STEAMID/profile1/`
* substitute your own variables! i don't know your steam id
-* `./sts2stats`
a browser window with the duckdb ui should open.
+
+ingesting should take a while and not currently deduplicated so reindexing is enabled implicitly: every time you start the program the database will be wiped.
+
+you can query the data in the duckdb ui during the indexing. \ No newline at end of file