diff options
author | Frederick Muriuki Muriithi | 2021-12-10 09:52:38 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-01-28 08:07:26 +0300 |
commit | a771de4f99b7e0e4fb0b70ffd39817bc94bdf7b3 (patch) | |
tree | 42274b50afd80c630ef3470100d3420238da569e /wqflask/utility/TDCell.py | |
parent | bdf3de41c7c7202e37cf1bd762ede04333c222c8 (diff) | |
download | genenetwork2-a771de4f99b7e0e4fb0b70ffd39817bc94bdf7b3.tar.gz |
Automate setting of the development GN3 repo
* When developing the GN2 code, there are times we need to use the
latest code in GN3, and rather than manually editing the
`bin/genenetwork` file every time we need that, this commit enables
the use of an environment variable.
In this case, launching the application with something like:
$ env GN3_DEV_REPO_PATH="$HOME/genenetwork3" ...\
./bin/genenetwork2 ./the_settings.py -gunicorn-dev
will add the path to the development version to the PYTHONPATH. If
the GN3_DEV_REPO_PATH variable is not set, then the PYTHONPATH is
not altered, and would be as if there is no development version of
GN3 in use.
Diffstat (limited to 'wqflask/utility/TDCell.py')
0 files changed, 0 insertions, 0 deletions