diff options
author | Zachary Sloan | 2013-02-22 22:18:38 +0000 |
---|---|---|
committer | Zachary Sloan | 2013-02-22 22:18:38 +0000 |
commit | 5bfe4e6c590bf0ade2312536f0f8e3ce055e2c75 (patch) | |
tree | af64127d2e6da4876f52b23417130d398f03a09f | |
parent | ac00a7cb8307c8bea83d08a74b692205c16b2cc1 (diff) | |
download | genenetwork2-5bfe4e6c590bf0ade2312536f0f8e3ce055e2c75.tar.gz |
Added some to notes
-rw-r--r-- | misc/notes.txt | 12 | ||||
-rwxr-xr-x | wqflask/base/webqtlConfigLocal.py | 14 | ||||
-rw-r--r-- | wqflask/cfg/zach_settings.py | 2 |
3 files changed, 20 insertions, 8 deletions
diff --git a/misc/notes.txt b/misc/notes.txt index fd08d9a2..ed0390e1 100644 --- a/misc/notes.txt +++ b/misc/notes.txt @@ -4,11 +4,15 @@ git clone http://github.com/zsloan/genenetwork.git gene Pull from branch in git repository: git pull origin flask(or whatever the branch is) +Add all files in current directory branch to be staged to be committed +git add -A + **** apt-get is an Ubuntu system-wide package manager, while pip is a Python-only system for python packages **** Upgrade system packages for security updates, etc: +apt-get update apt-get upgrade **"apt-cache search" searches for text in the description for various packages, while @@ -70,6 +74,14 @@ python runserver.py =========================================== +Redis things + +Restart redis server: +sudo /etc/init.d/redis_6379 stop +sudo /etc/init.d/redis_6379 start + +=========================================== + Start screen session: byobu -RD (to start) control-a then :multiuser on diff --git a/wqflask/base/webqtlConfigLocal.py b/wqflask/base/webqtlConfigLocal.py index 8e3e0bbe..abaeff93 100755 --- a/wqflask/base/webqtlConfigLocal.py +++ b/wqflask/base/webqtlConfigLocal.py @@ -2,18 +2,18 @@ # Environment Variables - private ######################################### -MYSQL_SERVER = 'localhost' -DB_NAME = 'db_webqtl_zas1024' +MYSQL_SERVER = 'gn.cazhbciu2y1i.us-east-1.rds.amazonaws.com' +DB_NAME = 'db_webqtl' DB_USER = 'webqtl' -DB_PASSWD = 'webqtl' +DB_PASSWD = 'f2ZypIflRM' -MYSQL_UPDSERVER = 'localhost' -DB_UPDNAME = 'db_webqtl_zas1024' +MYSQL_UPDSERVER = 'gn.cazhbciu2y1i.us-east-1.rds.amazonaws.com' +DB_UPDNAME = 'db_webqtl' DB_UPDUSER = 'webqtl' -DB_UPDPASSWD = 'webqtl' +DB_UPDPASSWD = 'f2ZypIflRM' GNROOT = '/home/zas1024/gene/' -ROOT_URL = 'http://alexandria.uthsc.edu:91/' +ROOT_URL = 'http://50.16.251.170' PythonPath = '/usr/bin/python' PIDDLE_FONT_PATH = '/usr/lib/python2.4/site-packages/piddle/truetypefonts/' diff --git a/wqflask/cfg/zach_settings.py b/wqflask/cfg/zach_settings.py index 8d3bf4ab..1970bd9c 100644 --- a/wqflask/cfg/zach_settings.py +++ b/wqflask/cfg/zach_settings.py @@ -2,4 +2,4 @@ LOGFILE = """/tmp/flask_gn_log""" TRAP_BAD_REQUEST_ERRORS = True -DB_URI = """mysql://webqtl:webqtl@localhost/db_webqtl_zas1024"""
\ No newline at end of file +DB_URI = """mysql://webqtl:f2ZypIflRM@gn.cazhbciu2y1i.us-east-1.rds.amazonaws.com/db_webqtl""" |