Prequesites
First, you need zope. One way to get it, is described in DownloadRpm. Another way is to take the zope code from www.zope.org and apply the necessary patch
To do this you unpack the source, and patch it like that:
patch ./lib/Components/ExtensionClass/src/Acquisition.c < acquisition.patch
Additionally you'll need to install these Zope Products:
- BTreeFolder2
- CMFPhoto
- CMF (1.5.4)
ExtFile
- Formulator (1.6)
PluggableAuthService
- iHotfix
- Localizer
- Photo
- ZMySQLDA
- CMFMailIn
- CMFReportTool
TimerService
ERP5 Source Code
ERP5 source code is published on a public Subversion repository:
Updates are happening every day, so this is the place to get the latest version of ERP5.
WARNING:
Before upgrading from svn, check carefully the announcements on erp5-dev mailing lists, sometimes it is recommended to upgrade only to certain revision. Upgrading to HEAD can be dangerous. You have been warned.
Another good idea while upgrading to HEAD is to read upgrade notes before upgrade.
The repository contains multiple entries:
http://svn.erp5.org/erp5/trunk/products/ERP5/ contains the code of ERP5 itself
http://svn.erp5.org/erp5/trunk/products/ERP5Type/ contains the code of ERP5 core framework
http://svn.erp5.org/erp5/trunk/bt5/ contains the configuration of all business templates.
You can checkout products from the subversion repository:
cd $INSTANCE_HOME/Products # INSTANCE_HOME is /var/lib/zope/ svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ERP5 svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ERP5Type svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ERP5OOo svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ERP5Form svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ERP5SyncML svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ERP5Catalog svn co https://svn.erp5.org/repos/public/erp5/trunk/products/CMFActivity svn co https://svn.erp5.org/repos/public/erp5/trunk/products/CMFCategory svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ZSQLCatalog svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ERP5Security svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ZMySQLDDA svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ZMySQLDA svn co https://svn.erp5.org/repos/public/erp5/trunk/products/TimerService svn co https://svn.erp5.org/repos/public/erp5/trunk/products/ERP5Subversion
Behind a proxy
If you are behind a proxy, you must make some special preparations. svn does not honour the environment variable proxy_host, you must configure svn under linux the file can be reached via ~/.subversion/servers
In the [groups] section you add
erp5 = svn.erp5.org
That way you have a group erp5
then you can create an [erp5] section where you write
[erp5] http-proxy-host = proxy http-proxy-port = 8000
Please replace proxy by your real proxy and the port by your real port
From my first understanding you have to comment these lines if you change the network environment