aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2024-01-02 13:36:27 +0000
committerArun Isaac2024-01-02 13:36:27 +0000
commit69b7d4ea738ab6d0cd959a9cdd1101a4e600795d (patch)
tree361301f903550a97b7c266d6eada1ec4b9b7d932
parenteeb479a20631ffb02f23b3ee88b5c7ad4d821810 (diff)
downloadgn-machines-69b7d4ea738ab6d0cd959a9cdd1101a4e600795d.tar.gz
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.
-rw-r--r--genenetwork-development.scm6
1 files 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 <genenetwork-configuration> 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