aboutsummaryrefslogtreecommitdiff
path: root/doc/README.org
diff options
context:
space:
mode:
authorPjotr Prins2016-03-06 13:03:14 +0000
committerPjotr Prins2016-04-20 10:07:47 +0000
commit3a34a3de80ce33afb7fb600620d693be26583462 (patch)
tree2148802b82889ed61b9c4a148ccc14a9dfd3a72c /doc/README.org
parenta203e362ec57351f29274b32b7c80dc9392d591d (diff)
downloadgenenetwork2-3a34a3de80ce33afb7fb600620d693be26583462.tar.gz
README
Diffstat (limited to 'doc/README.org')
-rw-r--r--doc/README.org25
1 files changed, 24 insertions, 1 deletions
diff --git a/doc/README.org b/doc/README.org
index efaec8a6..85c6da1c 100644
--- a/doc/README.org
+++ b/doc/README.org
@@ -9,6 +9,7 @@
- [[#install-gn2][Install GN2]]
- [[#run-gn2][Run GN2]]
- [[#run-mysql-server][Run MySQL server]]
+ - [[#run-your-own-copy-of-gn2][Run your own copy of GN2]]
- [[#source-deployment-and-other-information-on-reproducibility][Source deployment and other information on reproducibility]]
* Introduction
@@ -68,7 +69,8 @@ export PATH=~/.guix-profile/bin:$PATH
genenetwork2
#+end_src bash
-will start the default server which listens on port 5003.
+will start the default server which listens on port 5003, i.e.,
+http://localhost:5003/.
** Run MySQL server
@@ -105,6 +107,27 @@ Set permissions and match password in your settings file below:
: mysql> grant all privileges on db_webqtl_s.* to gn2@"localhost" identified by 'mysql_password';
+** Run your own copy of GN2
+
+At some point you may want to fix the source code. Clone the GN2
+repository from https://github.com/genenetwork/genenetwork2_diet
+
+Inside the repository:
+
+: cd genenetwork2_diet
+: ./bin/genenetwork2
+
+Will fire up your local repo http://localhost:5003/ using the
+settings in ./etc/default_settings.py
+
+To override settings create your own from a copy of
+default_settings.py and pass it into GN2 with
+
+: ./bin/genenetwork2 $HOME/my_settings.py
+
+and everything *should* work. This way we develop against
+the exact same dependency graph of software.
+
* Source deployment and other information on reproducibility