From 313c11c38858b7c81f78899fc2a304c58af8b816 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 27 Apr 2020 10:52:47 +0000 Subject: docs: document running ratspub --- running_ratspub | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 running_ratspub (limited to 'running_ratspub') diff --git a/running_ratspub b/running_ratspub new file mode 100644 index 0000000..bedbd02 --- /dev/null +++ b/running_ratspub @@ -0,0 +1,6 @@ +The ratspub shepherd service has 3 environment variables which also act as hints for directories which are needed. +EDIRECT_PUB_MASTER points to the local copy of the PubMed archive (this can be retrieved with the mcron job pubmed.guile). This is currently at /export2/PubMed. Due to folder permissions it is easiest to run the cronjob to update the PubMed archive as hchen. +NLTK_DATA contains nltk data which is needed for fetching more PubMed archives, either from the cronjob or during the regular use of rats.pub. This is currently run by Hao and is at /home/hchen/nltk_data +PERL_LWP_SSL_CA_FILE is because perl-lwp doesn't respect SSL_CA_FILE and needs its own variable to handle SSL. This is set to the standard SSL location, /etc/ssl/certs/ca-certificates.crt. + +ratspub needs to be run from its installed directory (or from $GUIX_ENVIRONMENT if inside a Guix environment with it, 'guix environment --ad-hoc ratspub'). -- cgit v1.2.3