From 69b7d4ea738ab6d0cd959a9cdd1101a4e600795d Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 2 Jan 2024 13:36:27 +0000 Subject: Change path to default genenetwork2 settings file. The default settings file in the genenetwork2 code base has been moved from etc/default_settings.py to gn2/default_settings.py. Adapt. * genenetwork-development.scm (genenetwork-projects, genenetwork2-cd-gexp): Change path to default genenetwork2 settings file. --- genenetwork-development.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/genenetwork-development.scm b/genenetwork-development.scm index 2072387..56b9373 100644 --- a/genenetwork-development.scm +++ b/genenetwork-development.scm @@ -317,7 +317,7 @@ genenetwork3 source from the latest commit of @var{project}." (name "genenetwork2") (run (genenetwork2-tests config - (list "sh" "bin/genenetwork2" "./etc/default_settings.py" + (list "sh" "bin/genenetwork2" "./gn2/default_settings.py" "-c" "-m" "pytest"))) ;; If unit tests pass, redeploy genenetwork2 and ;; trigger Mechanical Rob. @@ -334,7 +334,7 @@ genenetwork3 source from the latest commit of @var{project}." (name "genenetwork2-mechanical-rob") (run (genenetwork2-tests config - (list "sh" "bin/genenetwork2" "./etc/default_settings.py" + (list "sh" "bin/genenetwork2" "./gn2/default_settings.py" "-c" "../test/requests/test-website.py" "--all" (string-append "http://localhost:" (number->string gn2-port))))) (trigger? #f)))) @@ -475,7 +475,7 @@ server described by CONFIG, a object." ;; Start genenetwork2. (with-directory-excursion "genenetwork2" (invoke #$(file-append bash "/bin/sh") - "bin/genenetwork2" "etc/default_settings.py" "-gunicorn-prod"))))))) + "bin/genenetwork2" "gn2/default_settings.py" "-gunicorn-prod"))))))) (define (genenetwork3-cd-gexp config) "Return a G-expression that runs the latest genenetwork3 development -- cgit v1.2.3