aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorzsloan2018-01-24 20:14:06 +0000
committerzsloan2018-01-24 20:14:06 +0000
commit4634cf87761980a1682473211259698b7be720e4 (patch)
tree7168293e7cf674a4250ea84080bd83112552ae93 /bin
parent623cdd2cfafc3d2dd45bc1adf460c9f3c5120e7a (diff)
parent56065c9f994c9247eaa17e5216d44d0e5e733aa2 (diff)
downloadgenenetwork2-4634cf87761980a1682473211259698b7be720e4.tar.gz
Merge branch 'testing' of github.com:genenetwork/genenetwork2 into testing
Diffstat (limited to 'bin')
-rwxr-xr-xbin/genenetwork29
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/genenetwork2 b/bin/genenetwork2
index 5e791885..a7edb1c2 100755
--- a/bin/genenetwork2
+++ b/bin/genenetwork2
@@ -1,5 +1,11 @@
#! /bin/bash
#
+# Typical usage
+#
+# env GN2_PROFILE=~/opt/genenetwork2-phewas ./bin/genenetwork2
+#
+# Where GN2_PROFILE points to the GNU Guix profile used for deployment.
+#
# This will run the GN2 server (with default settings if none
# supplied). Typically you need a GNU Guix profile which is set with
# an environment variable (this profile is dictated by the
@@ -120,6 +126,9 @@ echo -n "dir $TMPDIR
dbfilename gn2.rdb
" | redis-server - &
+# Overrides for packages that are not yet public (currently r-auwerx)
+export R_LIBS_SITE=$R_LIBS_SITE:$HOME/.Rlibs/das1i1pm54dj6lbdcsw5w0sdwhccyj1a-r-3.3.2/lib/R/lib
+
# Start the flask server running GN2
cd $GN2_BASE_DIR/wqflask
echo "Starting with $settings"