diff options
author | Pjotr Prins | 2017-03-06 07:34:50 +0000 |
---|---|---|
committer | Pjotr Prins | 2017-03-06 07:34:50 +0000 |
commit | 06fa7371c96976f5ec65704ab6b16e03e21a98dc (patch) | |
tree | 875c4014e986fa29a7c6317dce3a603c524a513b /bin | |
parent | 48b8b931657c65e9b5f2a3ef0dcda3d5ad223f3a (diff) | |
download | genenetwork2-06fa7371c96976f5ec65704ab6b16e03e21a98dc.tar.gz |
phewas: preparing for use of phewas tools
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/genenetwork2 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/genenetwork2 b/bin/genenetwork2 index 52d3155c..ff1146b6 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). Pass in your own settings file, e.g. # @@ -106,6 +112,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" |