diff options
Diffstat (limited to 'misc/notes.txt')
-rw-r--r-- | misc/notes.txt | 12 |
1 files changed, 12 insertions, 0 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 |