aboutsummaryrefslogtreecommitdiff
path: root/doc/development.org
diff options
context:
space:
mode:
authorPjotr Prins2017-05-21 07:21:44 +0000
committerPjotr Prins2017-05-21 07:21:44 +0000
commit8677d1b7bd5b32791c440bf0de2fc4c61c98299f (patch)
treed5f46ddc75bb6a7b4135147cc1c25a1cfa64a871 /doc/development.org
parent02ce39e33fd32b68411ac7b30449507c3f567192 (diff)
downloadgenenetwork2-8677d1b7bd5b32791c440bf0de2fc4c61c98299f.tar.gz
Merge from the diet branch.
* refactored ./bin/genenetwork2 and /etc/default_settings - better detection of Guix - removed unused parameters, such as GEMMA_RESULT_PATH and TEMP_TRAITS - removing some default settings, such as PYLMM_COMMAND - rename some settings, such as SQL_URI and LOG_SQL_ALCHEMY - added GUIX_JS_PATH for JS modules * Added documentation on installing binary GN2 * Updated Twitter board to latest version in Guix - it had broken * Updated many tools in the latest Guix profile
Diffstat (limited to 'doc/development.org')
-rw-r--r--doc/development.org23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/development.org b/doc/development.org
new file mode 100644
index 00000000..bbb6084f
--- /dev/null
+++ b/doc/development.org
@@ -0,0 +1,23 @@
+* Development
+
+After cloning the git source tree you can run the contained GN2 using
+an existing GN2_PROFILE, i.e., use a profile that was create to run a
+binary installation of GN2. This profile may be found by typing
+
+: which genenetwork2
+: /home/wrk/opt/gn-latest-guix/bin/genenetwork2
+
+An example of running the development version would be
+
+: env GN2_PROFILE=/home/wrk/opt/gn-latest-guix ./bin/genenetwork2
+
+Profiles are stored in /gnu/store, so you may pick one up there
+
+: readlink -f $(dirname $(dirname `which genenetwork2`))
+: /gnu/store/dvckpaw770b00l6rv4ijql8wrk11iypv-profile
+
+and use that instead.
+
+Note that the genenetwork2 script sets up the environment for running
+the webserver. This includes path to R modules and python modules. These
+are output on startup. To make sure there is no environment pollution you can