aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun_bnw.sh13
-rwxr-xr-xrun_genecup.sh3
-rwxr-xr-xrun_power.sh3
-rwxr-xr-xrun_singlecell.sh7
4 files changed, 20 insertions, 6 deletions
diff --git a/run_bnw.sh b/run_bnw.sh
index afe9435..6ff99ba 100755
--- a/run_bnw.sh
+++ b/run_bnw.sh
@@ -1,5 +1,16 @@
#!/bin/sh
# This version for the bnw guix profile which includes guix-bioinformatics, using bnw-channels.scm.
-$(/home/shepherd/guix-profiles/bnw/bin/guix system container /home/shepherd/guix-bioinformatics/gn/services/bnw-container.scm --share=/home/shepherd/logs/bnw-server=/var/log --network)
+#
+# Note the deployment shifted, see https://issues.genenetwork.org/issues/systems/apps
+
+# $(/home/shepherd/guix-profiles/bnw/bin/guix system container /home/shepherd/guix-bioinformatics/gn/services/bnw-container.scm --share=/home/shepherd/logs/bnw-server=/var/log --network)
+
+# Here we simply build the system container and link it:
+
+rm -vf /usr/local/bin/bnw-app-container
+
+/home/shepherd/guix-profiles/bnw/bin/guix system container /home/shepherd/guix-bioinformatics/gn/services/bnw-container.scm --share=/home/shepherd/logs/bnw-server=/var/log --network --root=/usr/local/bin/bnw-app-container
+
+/usr/local/bin/bnw-app-container
#$(/home/shepherd/guix-profiles/bnw/bin/guix system container -L /home/shepherd/guix-past/modules -L /home/shepherd/guix-bioinformatics /home/shepherd/guix-bioinformatics/gn/services/bnw-container.scm --share=/home/shepherd/logs/bnw-server=/var/log --network)
diff --git a/run_genecup.sh b/run_genecup.sh
index ea43a0d..7e29813 100755
--- a/run_genecup.sh
+++ b/run_genecup.sh
@@ -1,7 +1,6 @@
#!/bin/sh
export EDIRECT_PUBMED_MASTER=/export2/PubMed
-export PERL_LWP_SSL_CA_FILE=/etc/ssl/certs/ca-certificates.crt
export TMPDIR=/export/ratspub/tmp
export NLTK_DATA=/export2/PubMed/nltk_data
@@ -11,5 +10,5 @@ export NLTK_DATA=/export2/PubMed/nltk_data
cd /home/shepherd/services/genecup
cd $(/home/shepherd/services/genecup/guix/bin/guix build -L /home/shepherd/services/genecup/guix-past/modules -L /home/shepherd/services/genecup/guix-bioinformatics genecup-latest-with-tensorflow-native -c 4)
-/home/shepherd/services/genecup/guix/bin/guix shell -L /home/shepherd/services/genecup/guix-past/modules -L /home/shepherd/services/genecup/guix-bioinformatics genecup-latest-with-tensorflow-native -- ./server.py
+/home/shepherd/services/genecup/guix/bin/guix shell --root=/home/shepherd/guix-profiles/genecup-app -C -N --expose=/etc/ssl/certs --expose=$EDIRECT_PUBMED_MASTER --share=$TMPDIR -L /home/shepherd/services/genecup/guix-past/modules -L /home/shepherd/services/genecup/guix-bioinformatics genecup-latest-with-tensorflow-native coreutils-minimal -- env TMPDIR=$TMPDIR EDIRECT_PUBMED_MASTER=$EDIRECT_PUBMED_MASTER NLTK_DATA=$NLTK_DATA ./server.py
diff --git a/run_power.sh b/run_power.sh
index 378896f..851bacb 100755
--- a/run_power.sh
+++ b/run_power.sh
@@ -1,2 +1,3 @@
#!/bin/sh
-/home/shepherd/guix-profiles/power/bin/guix environment --ad-hoc bxd-power-calculator-app -- sh -c 'R_LIBS_USER=$GUIX_ENVIRONMENT/site-library/ bxd-power-calculator-app'
+
+/home/wrk/opt/guix-pull-5-link/bin/guix shell --root=/home/shepherd/guix-profiles/bxd-power-app bxd-power-calculator-app -- sh -c 'R_LIBS_USER=$GUIX_ENVIRONMENT/site-library/ bxd-power-calculator-app'
diff --git a/run_singlecell.sh b/run_singlecell.sh
index 3c615b8..5ca8f78 100755
--- a/run_singlecell.sh
+++ b/run_singlecell.sh
@@ -1,3 +1,6 @@
#!/bin/sh
-/home/shepherd/guix-profiles/singlecell/bin/guix download https://bioconductor.org/packages/3.11/bioc/src/contrib/multtest_2.44.0.tar.gz
-/home/shepherd/guix-profiles/singlecell/bin/guix environment --ad-hoc singlecellrshiny -- sh -c 'R_LIBS_USER=$GUIX_ENVIRONMENT/site-library/ singlecellrshiny'
+# /home/shepherd/guix-profiles/singlecell/bin/guix download https://bioconductor.org/packages/3.11/bioc/src/contrib/multtest_2.44.0.tar.gz
+# /home/shepherd/guix-profiles/singlecell/bin/guix environment --ad-hoc singlecellrshiny -- sh -c 'R_LIBS_USER=$GUIX_ENVIRONMENT/site-library/ singlecellrshiny'
+
+/home/wrk/opt/guix-pull-5-link/bin/guix shell --root=? singlecellrshiny -- sh -c 'R_LIBS_USER=$GUIX_ENVIRONMENT/site-library/ singlecellrshiny'
+