PloneMall Step-by-Step on 2.5

« Return to page index

In the following I try to give a step-by-step tutorial with the goal of getting plonemall running on plone 2.5.1 and zope-2.9.5

Adding PloneMall to the Zope Instance Home

Fetching PloneMall from SVN and making it available by placing it in the zope instance home

You have a working plone site. Otherwise get one. E.g. by reading the previous two sections.

Fecthing from SVN
=================

For zope stuff, not coming with gentoo, I like to have a directory::

# mkdir /usr/local/src/zope
# cd /usr/local/src/zope

Now fetch PloneMallCore-1.1-dev bundle with svn::

# svn co https://svn.plone.org/svn/collective/PloneMall/bundles/PloneMallCore-1.1-dev
# ls -1 /usr/local/src/zope/PloneMallCore-1.1-dev/
ATMultiEdit
EXTERNALS.txt
PloneMallCart
PloneMallCustomer
PloneMallItem
PloneMallOrder
PloneMallPayment
PloneMallRegistry
Relations

Now copy those dirs to your zope instance Products folder::

# rsync -vaHP /usr/local/src/zope/PloneMallCore-1.1-dev/ /var/lib/zope/zope-2.9.5-shop/Products/

Take care about the slashes at the end. Take care to use your names of things. -H is probably not needed for rsync, however, I once started to use rsync with -vaHP and it's faster to type, than to think in which cases I need to take care about hardlinks. Hey! At least I stopped using -S...

Now restart your zope instance::

# /etc/init.d/zope-2.9.5-shop restart

In case things are not going as they are supposed to go, its always handy, to have some terminals around tailing (tail -f <filename>) /var/log/zope/zope-2.9.5-shop/event.log, and /srv/my.domain/www/log/error_log and /srv/my.domain/www/log/access_log.