From 8e6fd914688625b686e8bd7da1704e96d83265f1 Mon Sep 17 00:00:00 2001 From: Zachary Sloan Date: Fri, 25 Jan 2013 23:58:58 +0000 Subject: Added a bunch of things to notes --- misc/gn_installation_notes.txt | 27 +++++++++++++++++++++++++++ misc/notes.txt | 20 ++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/misc/gn_installation_notes.txt b/misc/gn_installation_notes.txt index 173f2819..bad21226 100644 --- a/misc/gn_installation_notes.txt +++ b/misc/gn_installation_notes.txt @@ -19,6 +19,27 @@ apt-file search _______ Install from requirements.txt: pip install -r gene/wqflask/requirements.txt -t ve27 + +============================================ + +Using dpkg + +Check which system packages are already installed: +dpkg -l | less + +=========================================== + +Using Yolk + +Install Yolk: +pip install yolk + +Check packages installed in this virtual environment: +yolk -l + +Checks packages that have updates available: +yolk -U + =========================================== Installing virtualenv: @@ -97,6 +118,12 @@ pip install logging_tree ========================================== +Install colordiff (just to make it easier to view differences in files, not necessary for GN) + +sudo apt-get install colordiff + +========================================== + To get server running: !If having seemingly inexplicable problems with imports, make sure I've started the environment! diff --git a/misc/notes.txt b/misc/notes.txt index e60102fc..3d4209c9 100644 --- a/misc/notes.txt +++ b/misc/notes.txt @@ -20,6 +20,14 @@ apt-cache show _______ Search for package with a specified file that can be installed with apt-get apt-file search _______ +============================================ + +Check which system packages are installed: +dpkg -l | less + +============================================ + + To fix error "mysql_config not found": sudo apt-get install libmysqlclient-dev @@ -130,6 +138,9 @@ python setup.py install Using Yolk +Install Yolk: +pip install yolk + Check packages installed in this virtual environment: yolk -l @@ -147,3 +158,12 @@ To iterate through dictionary items: for X, Y in MyDictionary.items(): Create symbolic link: ln -s dir_to_link_to linking_dir + +=========================================== + +Using grep: + +grep -ir (search string) (directory) + +-i ignores case +-r searches recursively through subdirectories of directory you specify -- cgit v1.2.3