From 47f5fa4fb29d45d0e76945766e861a3656589bfa Mon Sep 17 00:00:00 2001 From: GN3 production Date: Wed, 14 Dec 2022 21:44:09 -0600 Subject: Running luna in container --- .guix-run | 4 ++++ guix.scm | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .guix-run 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.") -- cgit v1.2.3