aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorArun Isaac2021-11-19 17:16:07 +0530
committerArun Isaac2021-11-19 17:16:07 +0530
commitabc0d36f39c691652fee81bce808d625fc368e72 (patch)
tree3248a372c0e4741390278584dfb5bb5459b6d8a2 /README.md
parent8488b57aa5b193b2addc034026af875f1145d61f (diff)
downloadgenenetwork3-abc0d36f39c691652fee81bce808d625fc368e72.tar.gz
Replace guix environment with guix shell.
* README.md, guix.scm: Replace guix environment with guix shell.
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 84e5fb9..62e8aeb 100644
--- a/README.md
+++ b/README.md
@@ -9,8 +9,8 @@ Install GNU Guix - this can be done on every running Linux system.
There are at least three ways to start GeneNetwork3 with GNU Guix:
-1. Create an environment with `guix environment`
-2. Create a container with `guix environment -C`
+1. Create an environment with `guix shell`
+2. Create a container with `guix shell -C`
3. Use a profile and shell settings with `source ~/opt/genenetwork3/etc/profile`
#### Create an environment:
@@ -18,13 +18,13 @@ There are at least three ways to start GeneNetwork3 with GNU Guix:
Simply load up the environment (for development purposes):
```bash
-guix environment --load=guix.scm
+guix shell -Df guix.scm
```
Also, make sure you have the [guix-bioinformatics](https://git.genenetwork.org/guix-bioinformatics/guix-bioinformatics) channel set up.
```bash
-guix environment --expose=$HOME/genotype_files/ --load=guix.scm
+guix shell --expose=$HOME/genotype_files/ -Df guix.scm
python3
import redis
```
@@ -32,7 +32,7 @@ python3
#### Run a Guix container
```
-guix environment -C --network --expose=$HOME/genotype_files/ --load=guix.scm
+guix shell -C --network --expose=$HOME/genotype_files/ -Df guix.scm
```