diff options
author | pjotrp | 2016-02-13 12:21:07 +0100 |
---|---|---|
committer | Pjotr Prins | 2016-04-20 08:16:48 +0000 |
commit | 82f731d11a870262b5d4ed693b86d7dcc40493a1 (patch) | |
tree | 486373bac084dc15b4baedc316b1d59776b76626 /bin | |
parent | e1cdb11c211394472e2f8cdd033fd0f93dbf5cea (diff) | |
download | genenetwork2-82f731d11a870262b5d4ed693b86d7dcc40493a1.tar.gz |
* ./bin/genenetwork2: New file
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/genenetwork2 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bin/genenetwork2 b/bin/genenetwork2 new file mode 100755 index 00000000..9cac31d5 --- /dev/null +++ b/bin/genenetwork2 @@ -0,0 +1,15 @@ +#! /bin/bash +# +# This will run the server with default settings + +# Absolute path to this script, e.g. /home/user/bin/foo.sh +SCRIPT=$(readlink -f "$0") +# Absolute path this script is in, thus /home/user/bin +SCRIPTPATH=$(dirname $(dirname "$SCRIPT")) +echo $SCRIPTPATH + +export PROFILE=$SCRIPTPATH +export PYTHONPATH=$PROFILE/wqflask:$PYTHONPATH +export WQFLASK_SETTINGS=$PROFILE/etc/default_settings.py + +/usr/bin/env python ./wqflask/runserver.py |