aboutsummaryrefslogtreecommitdiff
path: root/doc/README.org
diff options
context:
space:
mode:
authorPjotr Prins2016-03-06 15:55:48 +0000
committerPjotr Prins2016-04-20 10:07:54 +0000
commit9b632ebbeb73de1369a49a712d614fd8a2b1ab30 (patch)
tree90990afe2c8ed0644364f642a3fd19ac9cc09813 /doc/README.org
parent3a34a3de80ce33afb7fb600620d693be26583462 (diff)
downloadgenenetwork2-9b632ebbeb73de1369a49a712d614fd8a2b1ab30.tar.gz
README
Diffstat (limited to 'doc/README.org')
-rw-r--r--doc/README.org24
1 files changed, 22 insertions, 2 deletions
diff --git a/doc/README.org b/doc/README.org
index 85c6da1c..7d4d7e2d 100644
--- a/doc/README.org
+++ b/doc/README.org
@@ -62,10 +62,29 @@ cd ~/genenetwork/guix-gn-latest
./pre-inst-env guix package -i genenetwork2
#+end_src bash
+Make a note of the paths with
+
+#+begin_src bash
+./pre-inst-env guix package --search-paths
+#+end_src bash
+
** Run GN2
+After setting the paths for the server
+
#+begin_src bash
export PATH=~/.guix-profile/bin:$PATH
+export PYTHONPATH="$HOME/.guix-profile/lib/python2.7/site-packages"
+export R_LIBS_SITE="$HOME/.guix-profile/site-library/"
+export GUIX_GTK3_PATH="$HOME/.guix-profile/lib/gtk-3.0"
+export GI_TYPELIB_PATH="$HOME/.guix-profile/lib/girepository-1.0"
+export XDG_DATA_DIRS="$HOME/.guix-profile/share"
+export GIO_EXTRA_MODULES="$HOME/.guix-profile/lib/gio/modules"
+#+end_src bash
+
+run the main script (in ~/.guix-profile/bin)
+
+#+begin_src bash
genenetwork2
#+end_src bash
@@ -125,8 +144,9 @@ default_settings.py and pass it into GN2 with
: ./bin/genenetwork2 $HOME/my_settings.py
-and everything *should* work. This way we develop against
-the exact same dependency graph of software.
+and everything *should* work (note the full path to the settings
+file). This way we develop against the exact same dependency graph of
+software.
* Source deployment and other information on reproducibility