diff options
author | Efraim Flashner | 2020-04-27 10:52:47 +0000 |
---|---|---|
committer | Shepherd | 2020-04-27 10:52:47 +0000 |
commit | 313c11c38858b7c81f78899fc2a304c58af8b816 (patch) | |
tree | 295d05c863e6acb01d8babe315556a4b855b4d1a /running_ratspub | |
parent | 3e1bfc2ab895a17d80aeae462d33f947adaa71e2 (diff) | |
download | gn-shepherd-services-313c11c38858b7c81f78899fc2a304c58af8b816.tar.gz |
docs: document running ratspub
Diffstat (limited to 'running_ratspub')
-rw-r--r-- | running_ratspub | 6 |
1 files changed, 6 insertions, 0 deletions
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'). |