Monday, June 27, 2011

Install/Set up Django on Ubuntu

Expanded on this.

1. wget http://www.djangoproject.com/download/1.3/tarball/

2. mv index.html Django-1.3.tar.gz Step 1 downloaded the tar.gz as index.html, so rename it.

3. tar xzvf Django-1.3.tar.gz

4. sudo python setup.py install

Then verify that Django is installed:

5. python

6. import django

7. print django.get_version() should see "1.3", a version number

Yay! All is good.

8. quit()

No comments:

Post a Comment