diff options
Diffstat (limited to 'misc/notes.txt')
-rw-r--r-- | misc/notes.txt | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/misc/notes.txt b/misc/notes.txt index 976573a6..cdd353ea 100644 --- a/misc/notes.txt +++ b/misc/notes.txt @@ -11,6 +11,9 @@ git add -A Get the default path being used when a command is typed: which _______ +Change default path python looks at when importing +export PYTHONPATH="/home/zas1024/gene/wqflask" + Get the paths checked when a user types a command: echo $PATH @@ -67,7 +70,11 @@ Deactivate virtual environment: deactivate (just type deactivate) To set WQFLASK_SETTINGS environment variable: -export WQFLASK_SETTINGS=~/gene/wqflask/cfg/zach_settings.py (or wherever file is located) +export WQFLASK_SETTINGS=~/zach_settings.py (or wherever file is located) + +zach_settings.py is the local config file with the DB_URI +default_settings.py is the config file with the configuration information that would apply +to any running instance of GeneNetwork To change screen environment variable (if man not working or to get color, for example): export TERM=screen @@ -84,6 +91,13 @@ python runserver.py =========================================== +Update user password: +use mysql; +UPDATE user SET password=PASSWORD('whatever') WHERE user='webqtl'; +FLUSH PRIVILEGES; + +=========================================== + Redis things Restart redis server: |