diff options
author | Pjotr Prins | 2021-08-28 09:09:17 +0200 |
---|---|---|
committer | Pjotr Prins | 2021-08-28 09:09:17 +0200 |
commit | 396aed0ca760bc3073abee634d56d141525af1f0 (patch) | |
tree | 032a8f360709570ebe6758f2f15bf3d1d4c7e97d /README.md | |
parent | 79d19f4ce5cdce7f78128e8d7321dfa701e1d04b (diff) | |
download | genenetwork3-396aed0ca760bc3073abee634d56d141525af1f0.tar.gz |
Add explanation of using a guix profile
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -37,6 +37,30 @@ and try again. See also instructions in [.guix.scm](.guix.scm). +#### Using a Guix profile (or rolling back) + +Create a new profile with + +``` +env GUIX_PACKAGE_PATH=~/guix-bioinformatics/ ~/.config/guix/current/bin/guix package -i genenetwork3 -p ~/opt/genenetwork3 +``` + +and load the profile settings with + +``` +source ~/opt/genenetwork3/etc/profile +start server... +``` + +Note that GN2 profiles include the GN3 profile (!). To roll genenetwork3 back you can use either in the same fashion (probably best to start a new shell first) + +``` +bash +source ~/opt/genenetwork2-older-version/etc/profile +set|grep store +run tests, server etc... +``` + #### Running Tests (assuming you are in a guix container; otherwise use venv!) |