aboutsummaryrefslogtreecommitdiff
path: root/genenetwork-development-deploy.sh
diff options
context:
space:
mode:
authorArun Isaac2022-09-26 13:21:25 +0530
committerArun Isaac2022-09-26 13:37:41 +0530
commitbbdd74d2def319f53e40aab3a5e1dc50e5cc2388 (patch)
tree17de183da768c759493b0c66ac8bcd70f62eb3a4 /genenetwork-development-deploy.sh
parent3b7ac978875648171b485bed992b8976dc3d5e3e (diff)
downloadgn-machines-bbdd74d2def319f53e40aab3a5e1dc50e5cc2388.tar.gz
Set up xapian search index for genenetwork2 CD.
* genenetwork-development.scm (%xapian-db-path): New variable. (genenetwork2-shepherd-service)[start]: Share %xapian-db-path with the container. (%default-genenetwork2-configuration)[runner]: Pass %xapian-db-path to CD runner. * genenetwork/development-helper.scm (genenetwork2-runner-gexp): Accept xapian-db-path argument and set XAPIAN_DB_PATH environment variable. * genenetwork-development-deploy.sh: Expose /export/data/genenetwork/xapian in the container.
Diffstat (limited to 'genenetwork-development-deploy.sh')
-rwxr-xr-xgenenetwork-development-deploy.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/genenetwork-development-deploy.sh b/genenetwork-development-deploy.sh
index ad9f795..4391bb8 100755
--- a/genenetwork-development-deploy.sh
+++ b/genenetwork-development-deploy.sh
@@ -30,6 +30,7 @@ container_script=$(guix system container --network \
--share=/var/guix-containers/genenetwork-development/var/lib/virtuoso=/var/lib/virtuoso \
--share=/var/guix-containers/genenetwork-development/var/log/cd=/var/log/cd \
--expose=/export/data/genenetwork/genotype_files \
+ --expose=/export/data/genenetwork/xapian \
--share=/export/genenetwork-database-dump \
--share=/var/run/mysqld/mysqld.sock=/run/mysqld/mysqld.sock \
genenetwork-development.scm)