aboutsummaryrefslogtreecommitdiff
path: root/doc/GUIX-Reproducible-from-source.org
diff options
context:
space:
mode:
authorzsloan2016-02-08 17:55:27 +0000
committerzsloan2016-02-08 17:55:27 +0000
commitd6cace2f544ecd16b43f9d4054d0ae0ac8d74af5 (patch)
tree93e5f9b6f50bd4156ed8de758212232ff84934a9 /doc/GUIX-Reproducible-from-source.org
parent7d5dba3e38892475edec80c922f06bcb40b0dcb3 (diff)
parent7705462a70d17f65bf34a158ea76f100b56582c8 (diff)
downloadgenenetwork2-d6cace2f544ecd16b43f9d4054d0ae0ac8d74af5.tar.gz
Merge branch 'master' of github.com:genenetwork/genenetwork2 into development
Conflicts: .gitignore
Diffstat (limited to 'doc/GUIX-Reproducible-from-source.org')
-rw-r--r--doc/GUIX-Reproducible-from-source.org35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/GUIX-Reproducible-from-source.org b/doc/GUIX-Reproducible-from-source.org
new file mode 100644
index 00000000..b88eb9e8
--- /dev/null
+++ b/doc/GUIX-Reproducible-from-source.org
@@ -0,0 +1,35 @@
+#+TITLE: Installing GeneNetwork services with GNU Guix
+
+* Table of Contents :TOC:
+ - [[#introduction][Introduction]]
+ - [[#binary-deployment][Binary deployment]]
+ - [[#from-source-deployment][From source deployment]]
+
+* Introduction
+
+Large system deployments tend to get very complex. In this document we
+explain the GeneNetwork deployment system which is based on GNU Guix
+(see Pjotr's [[https://github.com/pjotrp/guix-notes/blob/master/README.md][Guix-notes]]).
+
+* Binary deployment
+
+NYA (will go to README)
+
+* From source deployment
+
+GNU Guix allows for [[https://github.com/pjotrp/guix-notes/blob/master/REPRODUCIBLE.org][reproducible deployment]] based on a checked out
+Guix repository - use gn-stable for that:
+
+#+begin_src sh :lang bash
+mkdir genenetwork
+cd genenetwork
+git checkout https://github.com/genenetwork/guix.git gn-stable-guix
+git checkout https://github.com/genenetwork/guix-bioinformatics.git
+#+end_src
+
+Next build guix (and run) following the instructions in [[https://github.com/pjotrp/guix-notes/blob/master/INSTALL.org#building-gnu-guix-from-source-using-guix][guix-notes]].
+
+Once that is done we can add the guix-bioinformatics path with
+
+: env GUIX_PACKAGE_PATH=../guix-bioinformatics ./pre-inst-env guix package -A slurm
+