aboutsummaryrefslogtreecommitdiff
path: root/doc/Architecture.org
diff options
context:
space:
mode:
authorPjotr Prins2016-06-14 06:43:47 +0000
committerPjotr Prins2016-06-14 06:43:47 +0000
commit312f051074a8509ba85b6961fe1f04d4111a7288 (patch)
treeb60b10c0a4380b9ab5e766370f413058599127e2 /doc/Architecture.org
parent7584ddd74d2ac32533c335e112586f7c7d3d2172 (diff)
downloadgenenetwork2-312f051074a8509ba85b6961fe1f04d4111a7288.tar.gz
Adding documentation
Diffstat (limited to 'doc/Architecture.org')
-rw-r--r--doc/Architecture.org15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/Architecture.org b/doc/Architecture.org
new file mode 100644
index 00000000..c263d3b9
--- /dev/null
+++ b/doc/Architecture.org
@@ -0,0 +1,15 @@
+* GeneNetwork Architecture
+
+** Introduction
+
+This document describes the architecture of GN2. Because GN2 is
+evolving, only a high-level overview is given here.
+
+** Webserver
+
+The webserver is built on [[http://flask.pocoo.org/][Python flask]] and this GN2 source code can be
+found on [[https://github.com/genenetwork/genenetwork2/tree/master/wqflask/wqflask][github]] in the wqflask directory. The routing tables are
+defined in [[https://github.com/genenetwork/genenetwork2/blob/master/wqflask/wqflask/views.py][views.py]]. For example the main page is loaded from a
+template named [[https://github.com/genenetwork/genenetwork2/blob/master/wqflask/wqflask/templates/index_page.htm][index_page.html]] in the [[https://github.com/genenetwork/genenetwork2/tree/master/wqflask/wqflask/templates][templates]] directory. In the
+template you can find get the form gets filled by a Javascript
+routine defined in [[https://github.com/genenetwork/genenetwork2/blob/master/wqflask/wqflask/static/new/javascript/dataset_select_menu.js][data_select_menu.js]].