diff options
author | Pjotr Prins | 2016-06-18 09:08:08 +0000 |
---|---|---|
committer | Pjotr Prins | 2016-06-18 09:08:08 +0000 |
commit | 6db25e3481902c2fef5a39cdc3c1c91854138498 (patch) | |
tree | f618ae2242224e1142947c643dc20f8a4838791e | |
parent | aa5ca3053c9c866436c4d33b9165703f0f631083 (diff) | |
download | genenetwork2-6db25e3481902c2fef5a39cdc3c1c91854138498.tar.gz |
Runner: updated info
-rw-r--r-- | wqflask/runserver.py | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/wqflask/runserver.py b/wqflask/runserver.py index 344826ce..0d91c57a 100644 --- a/wqflask/runserver.py +++ b/wqflask/runserver.py @@ -1,24 +1,11 @@ -from wqflask import app - -# Start the webserver with ./bin/genenetwork2 -# -# Please note, running with host set externally below combined with debug mode -# is a big security no-no -# Unless you have a firewall setup +# Starts the webserver with the ./bin/genenetwork2 command # -# Something like /sbin/iptables -A INPUT -p tcp -i eth0 -s ! 71.236.239.43 --dport 5000 -j DROP -# should do the trick +# Please note, running with host set externally below combined with +# debug mode is a security risk unless you have a firewall setup, e.g. # -# You'll probably have to firewall the main port and the -# -# For more info see: http://www.cyberciti.biz/faq/iptables-block-port/ +# /sbin/iptables -A INPUT -p tcp -i eth0 -s ! 71.236.239.43 --dport 5003 -j DROP -#import logging -#logging.basicConfig(filename="/tmp/flask_gn_log", level=logging.INFO) -# -#_log = logging.getLogger("search") -#_ch = logging.StreamHandler() -#_log.addHandler(_ch) +from wqflask import app import logging import utility.logger |