Create a virtualenv for the person

Revision as of 23:34, 4 March 2011 by imported>Paulproteus (Created page with '== Install the virtualenv package == sudo apt-get install python-virtualenv == Create a virtualenv == virtualenv ~/env == Activate it == source ~/env/bin/activate You sh…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Install the virtualenv package

sudo apt-get install python-virtualenv

Create a virtualenv

virtualenv ~/env

Activate it

source ~/env/bin/activate

You should now see

(env) at the start of your shell prompt. Look for that!

Upgrade Django

pip install --upgrade django