Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
$ cd /usr/local/src/TARFILES
$ wget http://www.djangoproject.com/m/releases/1.3/Django-1.3.1.tar.gz
$ cd ../
$ tar xvfz TARFILES/Django-1.3.1.tar.gz
$ cd Django-1.3.1/
$ sudo /usr/local/python27/bin/python2.7 setup.py install
$

check your work

To make sure everything is working as expected, use mad.wsgi.env and visit the root URL. You should see something like the follwing.

Code Block
python version info:
2.7.3 (default, May 16 2012, 09:40:25) 
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)]

django version info:
(1, 3, 1, 'final', 0)

psycopg2 version info:
2.4.5 (dt dec pq3 ext)

mod_wsgi version info:
(3, 3)

 

OBSOLETE - install virtualenv 2.7

...