aboutsummaryrefslogtreecommitdiff
path: root/genenetwork-development.scm
diff options
context:
space:
mode:
Diffstat (limited to 'genenetwork-development.scm')
-rw-r--r--genenetwork-development.scm9
1 files changed, 6 insertions, 3 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm
index 5b00cd2..528db38 100644
--- a/genenetwork-development.scm
+++ b/genenetwork-development.scm
@@ -140,7 +140,9 @@ be imported into G-expressions."
(xapian-db-path genenetwork-xapian-db-path
(default "/var/genenetwork/xapian"))
(auth-db-path genenetwork-auth-db-path
- (default "/export/data/genenetwork-sqlite/auth.db")))
+ (default "/export/data/genenetwork-sqlite/auth.db"))
+ (llm-db-path genenetwork-llm-db-path
+ (default "/export/data/genenetwork-sqlite/llm.db")))
;;;
@@ -498,7 +500,7 @@ server described by CONFIG, a <genenetwork-configuration> object."
"Return a G-expression that runs the latest genenetwork3 development
server described by CONFIG, a <genenetwork-configuration> object."
(match-record config <genenetwork-configuration>
- (gn3-repository gn3-port gn3-secrets sparql-endpoint data-directory xapian-db-path auth-db-path)
+ (gn3-repository gn3-port gn3-secrets sparql-endpoint data-directory xapian-db-path auth-db-path llm-db-path)
(with-manifest (package->development-manifest genenetwork3)
(with-packages (list git-minimal nss-certs)
(with-imported-modules '((guix build utils))
@@ -525,7 +527,8 @@ server described by CONFIG, a <genenetwork-configuration> object."
"SPARQL_ENDPOINT=\"" sparql-endpoint "\"\n"
"DATA_DIR=\"" data-directory "\"\n"
"XAPIAN_DB_PATH=\"" xapian-db-path "\"\n"
- "AUTH_DB=\"" auth-db-path "\"\n"))
+ "AUTH_DB=\"" auth-db-path "\"\n"
+ "LLM_DB_PATH=\"" llm-db-path "\"\n"))
(setenv "HOME" "/tmp")
(setenv "GN3_SECRETS" #$gn3-secrets)
;; Run genenetwork3.