diff options
author | Zachary Sloan | 2013-03-22 21:51:07 +0000 |
---|---|---|
committer | Zachary Sloan | 2013-03-22 21:51:07 +0000 |
commit | cd58c17faec400968cfe6a3595ebe02099edd691 (patch) | |
tree | deb30f9994f8705cc742fc468e8beee1b451e657 /misc | |
parent | 58a268465cf7d52d18f3c5808f52f41a7c2514b9 (diff) | |
download | genenetwork2-cd58c17faec400968cfe6a3595ebe02099edd691.tar.gz |
Removed zach_settings.py from git tracking
Changed mysql password as a result of it being up on git before
Diffstat (limited to 'misc')
-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: |