From 33e2e09d00881de9b07274bc52b58587e5135cab Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Wed, 5 Sep 2018 09:49:09 +0000 Subject: ELASTICSEARCH settings and fix runserver.py to run without gunicorn --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 59645994..f0132e89 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,15 @@ Once installed GN2 can be run online through a browser interface genenetwork2 ``` -(default is http://localhost:5003/). For full examples (you'll need to -set a number of environment variables), including running scripts and -a Python REPL, see the startup script +(default is http://localhost:5003/). A quick example is + +```sh +env GN2_PROFILE=~/opt/gn-latest SERVER_PORT=5300 GENENETWORK_FILES=~/data/gn2_data/ ./bin/genenetwork2 ./etc/default_settings.py -gunicorn-dev +``` + +For full examples (you may need to set a number of environment +variables), including running scripts and a Python REPL, also see the +startup script [./bin/genenetwork2](https://github.com/genenetwork/genenetwork2/blob/testing/bin/genenetwork2). ## Testing -- cgit v1.2.3