diff options
author | zsloan | 2023-07-27 12:05:11 -0500 |
---|---|---|
committer | GitHub | 2023-07-27 12:05:11 -0500 |
commit | a9d3546fa3823087e8439e088942824faece5121 (patch) | |
tree | 1a633c7115c7854b07c932bf644ba9c6cddfe0a7 /topics | |
parent | 5716e638d039e4deab06e3585264823e67b6990c (diff) | |
download | gn-gemtext-a9d3546fa3823087e8439e088942824faece5121.tar.gz |
Create xapian-indexing-on-tux01.gmi
Diffstat (limited to 'topics')
-rw-r--r-- | topics/xapian-indexing-on-tux01.gmi | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/topics/xapian-indexing-on-tux01.gmi b/topics/xapian-indexing-on-tux01.gmi new file mode 100644 index 0000000..71a4843 --- /dev/null +++ b/topics/xapian-indexing-on-tux01.gmi @@ -0,0 +1,17 @@ +How to run the Xapian indexing script + +Change to Arun's user: +su aruni + +Remove old xapian directory + contents: +sudo -u aruni rm -r /export/data/genenetwork/xapian + +Run guix shell: +/home/zas1024/opt/guix/bin/guix shell --container --network --share=/export/data/genenetwork/ --development --file=guix.scm + +Run the indexer script: +env PYTHONPATH=. python3 scripts/index-genenetwork /export/data/genenetwork/xapian mysql://webqtlout:webqtlout@127.0.0.1:3306/db_webqtl + +OR Put the following in a shell script and run as Arun + +rm -r /export/data/genenetwork/xapian && /home/zas1024/opt/guix/bin/guix shell --container --network --share=/export/data/genenetwork/ --development --file=guix.scm -- env PYTHONPATH=. python3 scripts/index-genenetwork /export/data/genenetwork/xapian mysql://webqtlout:webqtlout@127.0.0.1:3306/db_webqtl |