Personal tools
You are here: Home Web Server and Workstation Configuration Plone on OSX

Plone on OSX

Setting up a new Mac for Plone development? Read on...

Binary Applications

Skype:

http://skype.com

Quicksilver:

http://quicksilver.blacktree.com/ or better yet, the Apple site

Firefox:

http://www.mozilla.com/en-US/firefox/

Firebug:

https://addons.mozilla.org/en-US/firefox/addon/1843

Web Developer Toolkit:
 

https://addons.mozilla.org/en-US/firefox/addon/60

Text Editor:

TextMate, BBEdit, TextWrangler, SubEthaEdit, whatever you like

Subversion:

http://downloads.open.collab.net/binaries.html

  • configure ~/.subversion/config for Plone/Zope/Python:

    global-ignores = *.o *.lo *.la #*# .*.rej *.rej.*~ *~ .#* .DS_Store *.pyc
    
IRC client:

Colloquy

Glimpse:

http://plone.org/documentation/how-to/how-to-quickly-search-zope-plone-code-using-glimpse

Utilities

MacPorts:http://www.macports.org/
readline:http://readline.darwinports.com/

Python

Setup:

sudo ./configure

Edit the makefile:

CC=         gcc

becomes:

CC=         gcc -I/opt/local/include -L/opt/local/lib

Then compile:

sudo make
sudo make test (if you're so inclined)
sudo make altinstall

We do 'altinstall' because python 2.3.5 is already added to OS <= 10.5.x at /usr/bin/python, and python 2.5.x is already added to OS X 10.5.x

add "/usr/local/bin" to your path type "pythonX.X -V" to verify

NB - If you follow these steps, it seems you do *not need to easy_install readine - in fact, the egg retrieved by easy_install doesn't seem to work, at least on Leopard. Once I removed the egg, I was able to import readline:

>>> import readline
>>> import rlcompleter
>>> readline.parse_and_bind('tab: complete')

NB again: Leopard's python2.5 is funky. If you want tab completion in python2.5 (virtualenv or otherwise) you need this instead:

>>> import rlcompleter
>>> import readline
>>> readline.parse_and_bind ("bind ^I rl_complete")
wget:http://wget.darwinports.com/
FreeType2:http://freetype.darwinports.com/
jpeg:http://jpeg.darwinports.com/
EasyInstall ez_setup.py:
 http://peak.telecommunity.com/DevCenter/EasyInstall#installing-easy-install

Install this into your Plone's python:

sudo python2.4 ez_setup.py
install prerequisites for zc.buildout:
 http://plone.org/documentation/tutorial/buildout/prerequisites

You will already should have which easy_install in path Install elementtree:

sudo easy_install-2.4 elementtree

pdb readline support (tab autocompletion):

sudo easy_install-2.4 readline (maybe not! see above)

create a file named .pdbrc in your home folder with the following contents:

import rlcompleter
pdb.Pdb.complete = rlcompleter.Completer(locals()).complete

(see http://tomster.org/blog/archive/2006/10/09/pdp-tab-completion)

PIL

Get it and install in your Plone's python:

wget http://effbot.org/downloads/Imaging-1.1.6.tar.gz
tar -xzvf Imaging-1.1.6.tar.gz
cd Imaging-1.1.6
sudo python2.4 setup.py install

Plone 2.5.x setup

Good how-to:http://plone.org/documentation/how-to/setup-from-source
Related content
Document Actions
« September 2010 »
September
MoTuWeThFrSaSu
12345
6789101112
13141516171819
20212223242526
27282930