about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPjotr Prins2026-03-28 09:16:44 +0100
committerPjotr Prins2026-03-28 09:16:44 +0100
commit9ea06190e5fd8e902bc6da3fdefd73a72a5d9561 (patch)
treed4a7f7ae7159c926061cfc31f218b66552f1bd83
parent200acb601c4a271cf3be7d8651e80b28f55309d2 (diff)
downloadgenecup-9ea06190e5fd8e902bc6da3fdefd73a72a5d9561.tar.gz
README: add info on env vars
-rw-r--r--README.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/README.md b/README.md
index 2088fc9..1897704 100644
--- a/README.md
+++ b/README.md
@@ -39,28 +39,28 @@ Note that the build includes minipubmed and punkt for testing!
 
 ## Install local mirror of PubMed
 
-- Following the instruction provided by NCBI: https://www.nlm.nih.gov/dataguide/edirect/archive.html
+Following the instruction provided by NCBI: https://www.nlm.nih.gov/dataguide/edirect/archive.html unpack the data in, for example, /export/PubMed/
 
-Point environment variables to this dir:
+Point environment variables to this dir and run in the local source tree:
 
 ```
-env EDIRECT_PUBMED_MASTER=/export3/PubMed GEMINI_API_KEY="AIzaSy**" `guix build -L . genecup-gemini`/server.py --port 4201
+env EDIRECT_PUBMED_MASTER=/export GEMINI_API_KEY="AIzaSy**" `guix build -L . genecup-gemini`/server.py --port 4201
 ```
 
 You can run from a proper container:
 
 ```
-guix shell -L . -C -N -F genecup-gemini coreutils -- env GEMINI_API_KEY="AIzaSy**" genecup --port 4201
+guix shell -L . -C -N -F genecup-gemini -- env GEMINI_API_KEY="AIzaSy**" genecup --port 4201
 ```
 
 Environment variables used:
 
 ```
-EDIRECT_PUBMED_MASTER: PubMed datadir
+EDIRECT_PUBMED_MASTER: PubMed datadir (defaults to ./minipubmed)
 GEMINI_API_KEY: LLM access key
-GENECUP_DATADIR: SQLITE DB directory
-NLTK_DATA: punkt directory
-TMPDIR
+GENECUP_DATADIR: SQLITE DB directory (default .)
+NLTK_DATA: punkt directory (defaults to ./minipubmed/tokenizer)
+TMPDIR (default /tmp)
 ```
 
 # Development