aboutsummaryrefslogtreecommitdiff
path: root/README-wqflask.txt
diff options
context:
space:
mode:
authorSam Ockman2012-05-24 03:28:38 -0400
committerSam Ockman2012-05-24 03:28:38 -0400
commit3912f2bacd87f607e9fdfa7a83fcdc05522589e0 (patch)
tree3a20455fc23fb123a7150f215923d5407461dbbc /README-wqflask.txt
parent26663ce7a4bb75d2602261ed957bf3c1cdc4ebc6 (diff)
downloadgenenetwork2-3912f2bacd87f607e9fdfa7a83fcdc05522589e0.tar.gz
Added more to readme
Diffstat (limited to 'README-wqflask.txt')
-rw-r--r--README-wqflask.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/README-wqflask.txt b/README-wqflask.txt
index fdade7fa..03e3a1cc 100644
--- a/README-wqflask.txt
+++ b/README-wqflask.txt
@@ -21,11 +21,31 @@ Installation:
We highly recommend you create a virtual enviornment called ve27 in your home directory.
+
+Get into your home directory
> cd ~
+Create a virtual environment
> virtualenv ve27
+Activate the environment
> source ~/ve27/bin/activate
+Install dependencies
> pip install -r ~/gene/wqflask/requirements.txt
(Or replace gene with the name of the directory holding your repository)
+
+**************************
+
+Running the program:
+
+Assuming your enviornment is activated (source ~/ve27/bin/activate) just run:
+
+> python ~/gene/wqflask/runserver.py
+
+The program as configured runs on port 5000 and does not serve static files.
+
+You'll have to run a webserver to serve pages on port 80 and to server the static files (or
+flask could also be configured to serve the static pages).
+
+A sample configuration file for nginx is in the directory: wqflask/other_config/nginx.conf