aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPjotr Prins2021-08-28 09:09:17 +0200
committerPjotr Prins2021-08-28 09:09:17 +0200
commit396aed0ca760bc3073abee634d56d141525af1f0 (patch)
tree032a8f360709570ebe6758f2f15bf3d1d4c7e97d /README.md
parent79d19f4ce5cdce7f78128e8d7321dfa701e1d04b (diff)
downloadgenenetwork3-396aed0ca760bc3073abee634d56d141525af1f0.tar.gz
Add explanation of using a guix profile
Diffstat (limited to 'README.md')
-rw-r--r--README.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/README.md b/README.md
index c3a9848..66c780d 100644
--- a/README.md
+++ b/README.md
@@ -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!)