about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGN3 production2022-12-14 21:44:09 -0600
committerGN3 production2022-12-14 21:44:09 -0600
commit47f5fa4fb29d45d0e76945766e861a3656589bfa (patch)
tree8440c77563bf7c8795ab6937fe2c97ca33b6ee89
parenta3d4bc848caa8021e14282bab1a13ca7aadeb82d (diff)
downloadgenenetwork3-luna.tar.gz
Running luna in container luna
-rw-r--r--.guix-run4
-rw-r--r--guix.scm7
2 files changed, 9 insertions, 2 deletions
diff --git a/.guix-run b/.guix-run
new file mode 100644
index 0000000..4447fba
--- /dev/null
+++ b/.guix-run
@@ -0,0 +1,4 @@
+#! /bin/sh
+
+env GUIX_PACKAGE_PATH=~/guix-bioinformatics/ ~/opt/guix-gn3/bin/guix shell -C -D --network --expose=/home/gn2/production/genotype_files/ -f guix.scm -- gunicorn --bind 0.0.0.0:8087 --workers 8 --keep-alive 6000 --max-requests 10 --max-requests-jitter 5 --timeout 1200 wsgi:app
+
diff --git a/guix.scm b/guix.scm
index 9b8f399..8bdafa0 100644
--- a/guix.scm
+++ b/guix.scm
@@ -100,8 +100,8 @@
                        ("python-redis" ,python-redis)
                        ("python-requests" ,python-requests)
                        ("python-scipy" ,python-scipy)
-                       ("python-sqlalchemy-stubs"
-                        ,python-sqlalchemy-stubs)
+                       ; ("python-sqlalchemy-stubs"
+                       ;  ,python-sqlalchemy-stubs)
                        ("r-optparse" ,r-optparse)
                        ("r-qtl" ,r-qtl)
                        ("r-stringi" ,r-stringi)
@@ -112,6 +112,9 @@
                        ("rust-qtlreaper" ,rust-qtlreaper)
                        ("python-flask-cors" ,python-flask-cors)))
   (build-system python-build-system)
+  (arguments
+	`(#:tests? #f))
+
   (home-page "https://github.com/genenetwork/genenetwork3")
   (synopsis "GeneNetwork3 API for data science and machine learning.")
   (description "GeneNetwork3 API for data science and machine learning.")