aboutsummaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authorPjotr Prins2015-04-19 09:46:15 +0200
committerPjotr Prins2015-04-19 09:46:15 +0200
commit3736bd0044ddee68180a06809847af7542951743 (patch)
tree58f8418dc047861ad99375ba9c30c64b9635d835 /INSTALL.md
parent0929b16a5183538811260aef5c37f7406c302026 (diff)
downloadgenenetwork2-3736bd0044ddee68180a06809847af7542951743.tar.gz
INSTALL info
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md15
1 files changed, 12 insertions, 3 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 38d15090..afe22678 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -1,5 +1,10 @@
# INSTALL Genenetwork2 (GN2)
+## Use a Docker image
+
+A Docker image can be generated from
+[here](https://github.com/lomereiter/gn2-docker).
+
## Fetch GN2 from github
Clone the repository (currently ~800Mb) to local
@@ -10,12 +15,14 @@ Clone the repository (currently ~800Mb) to local
GN2 requires
+* python
* redis
* mysql
## Required python modules
-Install the following python modules:
+Install the following python modules (it is probably wise to use a local
+Python with environment for this)
* Flask
* pyyaml
@@ -53,12 +60,14 @@ SECRET_HMAC_CODE = '*'
```
```sh
+# Use a working copy of python
+export python=$HOME/ve27/bin/python
export WQFLASK_SETTINGS=$HOME/settings.py
source /home/pjotr/ve27/bin/activate
cd genenetwork2/wqflask
-python ./runserver.py
+$python ./runserver.py
or
-python ./secure_server.py
+$python ./secure_server.py
```