This document describes how to install an ERP5 Server an MacOsX 10.2 Jaguar ('jp jp',) ERP5 Server on MacOSX text/plain None en 9998-12-31 00:00:00 2002-11-28 18:51:37 2002-11-25 10:14:29 () 0 This document describes how to install an ERP5 Server on Mac OSX 10.2. If you are using Mac OSX 10.1, it is also possible to run ERP5 server but there are a few differences in the installation process. Overview To run an ERP5 Server, you need the following parts installed on your Macintosh : - The Fink environnement - The Zope application for Fink environnement - The Mysql database for Fink environnement - A Zope plug-in to connect Zope with Mysql : ZMySQLDA - A few third party Zope Products (plug-ins) like CMF, Localizer,... - The ERP5 Products for Zope (a list of specific plug-ins for Zope) - PyXML to extend the xml methods of the standard python environnement coming with Zope Installation step by step 1 Install Mac OS X 10.2 and the OS X 10.2 Developer Tools To do this you need the MacOSX Installation CD. 2 Install Fink 0.4.1 If you're running Mac OSX 10.2 - and you're installing Fink for the first time, refer to http://fink.sourceforge.net/news/jag-bootstrap.php - and you're upgrading an existing Fink installation, refer to http://fink.sourceforge.net/news/jaguar.php If you're running Mac OSX 10.1 refer to http://fink.sourceforge.net/download/index.php` 3 Install Zope 2.5.1 for Fink To do this open a terminal window an log in as root using the command line : su. Enter the root password. First we need to install xfree86 : type fink install xfree86-base Then to install Zope, type the following command : fink install zope. This will install a zope environnement from source. It can take a while. 4 Install Mysql 3.23.52 for Fink Type the following command : fink install mysql. 5 Get PyXML 0.8.1 Download PyXML-0.8.1.tar.gz (platform independant). Replace the default python/xml folder (/sw/lib/python2.1/xml) with the xml folder included in PyXML (PyXML-0.8.1/xml). 6 Get ZMySQLDA : the Mysql Database Adaptor for Zope Download ZMySQLDA for Zope 2.5.x and Fink Mysql Don't follow the readme instructions but decompress the file. After decompressing, you become a folder named "lib". Move the ZMySQLDA folder (/lib/python/Products) into /sw/var/lib/zope/Products. Move the content of site-packages (/lib/python2.1/site-packages) into /sw/lib/python2.1/site-packages. 7 Get the others Zope Products Create a "Products" directory in /sw/var/lib/zope. Connect to Nexedi's download page and download all the products listed except the Localizer patch (not necessary). Move all these Products folders into /sw/var/lib/zope/Products and rename them. Your directory should look like this : Base18 BTreeFolder2 CMFCalendar CMFCollector CMFCore CMFDefault CMFStaging CMFTopic CMFTracker CMFWiki CMFWorkspaces DCWorkflow ERP5 Formulator Localizer ZMySQLDA ZSQLCatalog Note : If you want to install some of these Products directly via CVS use the following command lines : - cvs -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/erp5 login - cvs -z3 -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/erp5 co "ProductName" Create a "import" directory in /sw/var/lib/zope. Create a "Extensions" directory in /sw/var/lib/zope. Copy the /sw/var/lib/zope/Products/ZSQLCatalog/zsqlbrain.py in /sw/var/lib/zope/Extensions 8 Start ERP5 Server (start Zope and MySQL) In a new terminal window (logged as root) type : fink info zope and then fink info mysql to learn about how to start and stop Zope and Mysql. 9 Import ERP5 Demo Once you have done all the step listed before, you can import the demo.zexp. normal stx