aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPjotr Prins2018-01-29 15:12:18 +0000
committerPjotr Prins2018-01-29 15:12:18 +0000
commit84d3b397bd5b51c4cde0b48f4a133e1a5dd2a3e9 (patch)
tree4d21f1143fefce17fc2fdd0eb0b3e64f8bb8cee8 /bin
parent85819dbeaf922456dc205e482e7e338952945d9b (diff)
downloadgenenetwork2-84d3b397bd5b51c4cde0b48f4a133e1a5dd2a3e9.tar.gz
Fixed gunicorn example
Diffstat (limited to 'bin')
-rwxr-xr-xbin/genenetwork24
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/genenetwork2 b/bin/genenetwork2
index f6ae3807..6878643d 100755
--- a/bin/genenetwork2
+++ b/bin/genenetwork2
@@ -27,9 +27,9 @@
#
# env GN2_PROFILE=~/opt/gn-latest-guix WEBSERVER_MODE=DEBUG LOG_LEVEL=DEBUG ./bin/genenetwork2
#
-# For production we use gunicorn. Run with
+# For production we use gunicorn. Run with something like
#
-# env GN2_PROFILE=~/opt/gn-latest-guix ./bin/genenetwork2 ./etc/default_settings.py -gunicorn "--bind 0.0.0.0:8000 --workers=2 --chdir wqflask/gunicorn/ wsgi"
+# env GN2_PROFILE=~/opt/gn-latest-guix ./bin/genenetwork2 ./etc/default_settings.py -gunicorn "--bind 0.0.0.0:8000 --workers=1 wsgi"
SCRIPT=$(realpath "$0")
GN2_BASE_DIR=$(dirname $(dirname "$SCRIPT"))