= Installation on MacOSX = === Before you begin === 1. You will propably need the GIS features of Eden. Before you proceed install the GDAL framework http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries 2. You also need to install some modules of python STATIC_DEPS=true sudo easy_install lxml - sudo easy_install shapely , also install the same way reportlab ,geraldo , pyserial , tweepy 3.In case you want to use PostgreSQL - PostGIS ( i assume you already installed the spatial modules before) Install the one clickInstaller sponsored by EnterpriseDB PostgreSQL and select also installation of postgis. Then based on this article http://schwuk.com/articles/2009/09/10/psycopg2-on-os-x install the python database driver sudo easy_install pip PATH=$PATH:/Library/PostgreSQL/8.4/bin/ sudo pip install psycopg2 defaults write com.apple.versioner.python Prefer-32-Bit -bool yes without the last you will not be able to see available the PostgreSQL driver when web2py launch === Download Sahana Eden === If NOT being a Developer, then you can get the last stable release from: * http://launchpad.net/sahana-eden/trunk/0.5.2/+download/web2py.app.eden-0.5.2.w2p NB The file should end in .w2p - if you have a trailing .gz after that, then remove it from the filename === Install Web2Py === * Download: http://web2py.com/examples/static/web2py_osx.zip * unzip NB This isn't well-tested...may be better off downloading the Source version: * http://eden.sahanafoundation.org/web2py_src-1.85.3.zip === Launch Web2Py === * {{{web2py.py}}} * Select a Password * 'click here for the administrative interface' * Enter same password === Install Sahana === * upload application: web2py.app.eden-0.5.2.w2p * rename it: eden * submit === Done! === * http://127.0.0.1:8000/eden/ === Trouble? === * {{{lxml}}} can give trouble on OS X. Try: * {{{STATIC_DEPS=true sudo easy_install lxml}}} (adapted from [http://blog.ianbicking.org/2008/12/10/lxml-an-underappreciated-web-scraping-library/ this blog post]) * remove other {{{libxml2}}} versions, such as may have been installed by {{{fink}}} or !MacPorts - ONlY works in unmodified python setup. In case you have modified your python you must link some how the python directory with /frameworks/python otherwise lxml will not being found(not tested) ---- InstallationGuidelines InstallationGuidelines