diff options
author | Pjotr Prins | 2017-12-20 09:11:31 -0600 |
---|---|---|
committer | Pjotr Prins | 2017-12-20 09:11:31 -0600 |
commit | 837ce8b9c779b1da6e4390220ccd353b289c1fca (patch) | |
tree | 7c830e9e1fffabe8e267a3ee2ef931a559c6e690 /bin | |
parent | d692e4f79f61691ecac7a14d0d7c7e93ead919e4 (diff) | |
download | genenetwork2-837ce8b9c779b1da6e4390220ccd353b289c1fca.tar.gz |
Bring in some earlier work - mostly documentation and startup handling
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 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" |