Monday, September 29, 2008

Playing with Django and Pinax - Mac OSX/MySQL

Installing Django - just followed instructions on django site http://docs.djangoproject.com/en/dev/intro/install/

Then ran through the tutorials

Then installed pinax using svn command here http://code.google.com/p/django-hotclub/source/checkout

Tried synchdb but didn't have PIL installed so got a load of errors.

Didn't have PIL so followed instructions here: http://www.p16blog.com/p16/2008/05/appengine-installing-pil-on-os-x-1053.html

setup data tables using
python ./manage.py syncdb

Wanted to use mysql - so installed ez_install
- downloaded egg here http://pypi.python.org/pypi/setuptools
- ran: sh setuptools-0.6c9-py2.5.egg

easy_install mysql-python


Then started mysql and created a new database and changed settings.py to use mysql and point to new database.

now syncdb again and tables created in mysql!
run: ./manage.py runserver
and pinax app available at http://127.0.0.1:8000

Wow!

2 comments:

gfutfy said...

If I were gold für wow a boy again,world of warcraft gold I would practice perseverance wow gold cheap more often,maple meso and never give up a thing because it was or inconvenient. If we want light,Maple Story Account we must conquer darkness. Perseverance can sometimes equal genius in its results.wow gold kaufen “There are only two creatures,”cheap maplestory mesos syas a proverb, “who can surmount the pyramids—the eagle and the snail.” If I were a boy again,wow geld I would school myself into a habit of attention;maple mesos I would let nothing come between me and the subject in hand.maple story power leveling I would remember that a good skater never tries to skate in two directions at once.billig wow gold The habit of attention becomes part of our life, if we begain early enough. I often hear grown up people say maple story items“ I could not fix my attention on the sermon or book, although I wished to do so” , wow powerlevelingand the reason is, the habit was not formed in youth. If I were to live my life over again,wow leveling I would pay more attention to the cultivation of the memory. I would strengthen that faculty by every possible means,wow power leveling and on every possible occasion.maplestory powerleveling It takes a little hard work at first to remember things accurately;cheap archlord gold but memory soon helps itself, and gives very little trouble. It only needs early cultivation to become a power.

Jim Robert said...

hooray for comment spam... I mean boo - it made this post come up on google for "pinax memory" :(