diff options
author | Arun Isaac | 2023-12-30 09:27:49 +0000 |
---|---|---|
committer | Arun Isaac | 2024-01-02 13:40:56 +0000 |
commit | ff679636d3ee9ae2388fab3fe5d091ef2f00a8e3 (patch) | |
tree | ba7d697312dea528847f04f1066e173dae905912 /doc/testing.org | |
parent | 26f17e7fff8d78ebb10528456fdbb9dee67c24d1 (diff) | |
download | genenetwork2-ff679636d3ee9ae2388fab3fe5d091ef2f00a8e3.tar.gz |
Move default settings into gn2 module.
Diffstat (limited to 'doc/testing.org')
-rw-r--r-- | doc/testing.org | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/testing.org b/doc/testing.org index d5ab117d..5c1e954e 100644 --- a/doc/testing.org +++ b/doc/testing.org @@ -35,14 +35,14 @@ Run the tests from the root of the genenetwork2 source tree as. Ensure that Redis and Mariadb are running. To run Mechanical Rob: -: time env GN2_PROFILE=~/opt/genenetwork2 TMPDIR=~/tmp SERVER_PORT=5004 GENENETWORK_FILES=/gnu/data/gn2_data/ ./bin/genenetwork2 ./etc/default_settings.py -c ~/projects/genenetwork2/test/requests/test-website.py -a http://localhost:5004 +: time env GN2_PROFILE=~/opt/genenetwork2 TMPDIR=~/tmp SERVER_PORT=5004 GENENETWORK_FILES=/gnu/data/gn2_data/ ./bin/genenetwork2 ./gn2/default_settings.py -c ~/projects/genenetwork2/test/requests/test-website.py -a http://localhost:5004 Use these aliases for the following examples. #+begin_src sh alias runpython="env GN2_PROFILE=~/opt/gn-latest TMPDIR=/tmp SERVER_PORT=5004 GENENETWORK_FILES=/gnu/data/gn2_data/ ./bin/genenetwork2 -alias runcmd="time env GN2_PROFILE=~/opt/gn-latest TMPDIR=//tmp SERVER_PORT=5004 GENENETWORK_FILES=/gnu/data/gn2_data/ ./bin/genenetwork2 ./etc/default_settings.py -cli" +alias runcmd="time env GN2_PROFILE=~/opt/gn-latest TMPDIR=//tmp SERVER_PORT=5004 GENENETWORK_FILES=/gnu/data/gn2_data/ ./bin/genenetwork2 ./gn2/default_settings.py -cli" #+end_src You could use them in your =.bashrc= or =.zshrc= file. |