diff options
author | zsloan | 2017-05-31 16:42:26 +0000 |
---|---|---|
committer | zsloan | 2017-05-31 16:42:26 +0000 |
commit | d778dc2ff9031d2c271764fc3b033b794e29ac10 (patch) | |
tree | 3cf32afb19c31ff954e10980da3dbf34daf911f5 /doc/development.org | |
parent | 6c3edf38ecc6549bc2cdf3893067d64a0a8e0ba3 (diff) | |
parent | 41da1283c829e587a37e21c52f71f9b1c57be80b (diff) | |
download | genenetwork2-d778dc2ff9031d2c271764fc3b033b794e29ac10.tar.gz |
Merge branch 'master' of github.com:genenetwork/genenetwork2 into development
Diffstat (limited to 'doc/development.org')
-rw-r--r-- | doc/development.org | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/development.org b/doc/development.org index bbb6084f..5e6e318b 100644 --- a/doc/development.org +++ b/doc/development.org @@ -1,5 +1,7 @@ * Development +** Using GN2_PROFILE + 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 @@ -21,3 +23,21 @@ 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 + +** Javascript modules + +As of release 2.10-pre4 we Javascript modules are installed in three places: + +1. JS_GUIX_PATH: the Guix store - these are Guix pre-packaged modules +2. The git source tree (./wqflask/wqflask/static/packages/) +3. JS_GN_PATH: a local directory containing (temporary) development modules + +Packages currently in git (2) will move to JS_GUIX_PATH (1) over +time. This is to keep better track of origin updates. Putting packages +in git (2) is actively discouraged(!), unless there are GN2 specific +adaptations to the original Javascript modules. + +JS_GN_PATH (3) is for development purposes. By default is is set to +$HOME/genenetwork/javascript. Say you are working on an updated +version of a JS module not yet in (1) you can simply check out that +module in that path and it should show up. |