
After my roommate extolling upon me the virtues of Django and how I should use it for my projects, I have finally caved. I spent a good segment of today installing and configuring the web framework on my pretentious OpenSUSE partition. However much time I spent on this was probably way more time than I should have had to.
Really, the simplest way of installing it was following their posted instructions. I went to their download page and was happily greeted by a download link and three commands to install. Best news ever.
tar xzvf Django-1.1.tar.gz
cd Django-1.1
sudo python setup.py install
It was supposed to be a 10min job including download time; which is why, of course, it did not work that way at all. Apparently I would have to try a different method because my Python install was angry (missing various files) and because simple installs like to hate me.
I was hoping to use the stable version, but I'm willing to try the 'latest & greatest' & unstable. I'm just learning Django & Python, so I tried install option number 2: Get the subversion repository and _____... Actually, yeah, what do I do after I have the svn repository? For some reason the download/install page was a little sparse on the details.
svn co http://code.djangoproject.com/svn/django/trunk/
Thats when I found it. The guide that took me through the necessary steps to finally get the magical Django beast fed and on my machine. Tada!
svn co http://code.djangoproject.com/svn/django/trunk/ django-trunk
ln -s `pwd`/django-trunk/django SITE-PACKAGES-DIR/django
ln -s `pwd`/django-trunk/django/bin/django-admin.py /usr/local/bin
Worked like a charm. I am happy to report that I have successfully tamed the Django of the wild forests in the internets and I am ready to start developing!
No comments:
Post a Comment