Mezzanine Debian Django Virtualenv Postgresql Install

mkdir ~/.virtualenvs sudo pip install virtualenv sudo pip install virtualenvwrapper This creates the directory in which your virtual environments will live, and can be any directory (hidden or not). The default is as above. The second step is to tweak your .bashrc file by adding the following: export WORKON_HOME=$HOME/.virtualenvs source …

Syntax color in less

If you want syntax highlighting in less, you can use source highlight software: http://www.gnu.org/software/src-highlite In Debian bases systems, package name is source-highlight and you can start using just setting two environment values as below: [bash light=”true”]export LESSOPEN="| /usr/share/source-highlight/src-hilite-lesspipe.sh %s"[/bash]   [bash light=”true”]export LESS=’ -R ‘[/bash]