From 5bfe4e6c590bf0ade2312536f0f8e3ce055e2c75 Mon Sep 17 00:00:00 2001 From: Zachary Sloan Date: Fri, 22 Feb 2013 22:18:38 +0000 Subject: Added some to notes --- misc/notes.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'misc') 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 -- cgit v1.2.3