diff options
author | Alexander_Kabui | 2024-04-26 17:50:46 +0300 |
---|---|---|
committer | Arun Isaac | 2024-04-28 15:35:44 +0100 |
commit | e56f2f4c26a09c8180176031895786c065e559d2 (patch) | |
tree | c50c6c2e65a148ebb4111a7627da8e9f8f42106a /genenetwork-development.scm | |
parent | 77ffad54f05222adae09d6bf89e72d47012e38a3 (diff) | |
download | gn-machines-e56f2f4c26a09c8180176031895786c065e559d2.tar.gz |
Add llm-db-path for CD.
genenetwork-development.scm (<genenetwork-configuration>)[llm-db-path]:
New field.
(genenetwork3-cd-gexp): Configure LLM_DB_PATH in gn3.conf.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
Diffstat (limited to 'genenetwork-development.scm')
-rw-r--r-- | genenetwork-development.scm | 9 |
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. |