Friday, March 11, 2011

Playing DJANGO on my N900

Hey this was pretty similar to playing with it as on my laptop.. Linux is in sync.. With a little difference being that the repo of the phone had no django. So the output of following command wasn't quite exciting..

$ apt-cache search django

But downloading django-1.2.5.tar.gz and extracting it using the tar -xvzf extraction, and running the command as root prepared the instrument for me..

$ tar -xvzf Django-1.2.5.tar.gz
$ cd Django-1.2.5
$ sudo gainroot # assumes gainroot is installed
# python install

To check if the installation has been successful.. just try out the get_version() at the python prompt..

$ python
>>> import django
>>> django.get_version()

Voila.. All set now just rock'n'roll!!!