andreirk / django-hotclub

Automatically exported from code.google.com/p/django-hotclub
0 stars 0 forks source link

Install instructions for OSX Leopard #56

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
INSTALL INSTRUCTIONS FOR MACOSX LEOPARD
---------------------------------------

CHECK OUT DJANGO-HOTCLUB

    $ cd ~
    $ svn checkout http://django-hotclub.googlecode.com/svn/trunk/ django-hotclub-read-only

CHECK OUT DJANGO

    $ cd ~
    $ svn co http://code.djangoproject.com/svn/django/trunk/ django-trunk

ADD DJANGO TO YOUR PYTHON PATH

find out where your python site-packages dir is:

    $ python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"

It should return "/Library/Python/2.5/site-packages"

make symlink:

    $ cd /Library/Python/2.5/site-packages
    $ ln -s ~/django-trunk/django .

INSTALL PYTHON IMAGING LIBRARY (PIL)

Download PIL for Leopard
http://pythonmac.org/packages/py25-fat/dmg/PIL-1.1.6-py2.5-macosx10.4-2007-05-
18.dmg

Trick installer: (from 
http://www.p16blog.com/p16/2008/05/appengine-installing-pil-on-os-
x-1053.html)

    $ cd /Library/Frameworks
    $ sudo ln -s /System/Library/Frameworks/Python.framework/ Python.framework

Make a .pth file:

    $ cd /Library/Python/2.5/site-packages

make PIL.pth with this line:
/System/Library/Frameworks/Python.framework/Versions/Current/lib/python2.5/site-
packages 

Confirm that PIL is installed:

    $ python -c "from PIL import Image"

This should not report an error if PIL is properly installed.

SET UP DATABASE

    $ cd ~/django-hotclub/pinax

edit settings.py

    $ python manage.py syncdb

make super user

START THE APP SERVER

    $ python manage.py runserver

HELP RESOURCES

screencasts
http://djangoscreencasts.blip.tv/#1080710

IRC channels
#django-hotclub
#pinax

Original issue reported on code.google.com by nateja...@gmail.com on 24 Aug 2008 at 4:51

GoogleCodeExporter commented 9 years ago
Oh, and you can view your site at http://127.0.0.1:8000

Original comment by nateja...@gmail.com on 24 Aug 2008 at 4:54

GoogleCodeExporter commented 9 years ago
The architecture changes in 0.7 render this instruction set invalid. For 0.8 
I'll
update this and see if I can get them into the formal installation documents of 
Pinax.

Original comment by pyDanny on 13 Mar 2009 at 3:38

GoogleCodeExporter commented 9 years ago

Original comment by pyDanny on 13 Mar 2009 at 3:41

GoogleCodeExporter commented 9 years ago

Original comment by leidel on 13 Mar 2009 at 9:06