Install Quills using buildout

Warning : this configuration is base on the development version of Quills please change it if you want a stable version.

First step edit your buildout.cfg.

The buildout section must look like this :

[buildout]
parts =
    plone
    zope2
    productdistros
    instance
    zopepy
    <strong>quills-products</strong>
 
# Add additional egg download sources here. dist.plone.org contains archives
# of Plone packages.
find-links =
    http://dist.plone.org
    http://download.zope.org/ppix/
    http://download.zope.org/distribution/
    http://effbot.org/downloads
    <strong>https://svn.plone.org/svn/collective/quills.core/trunk/#egg=quills.core-dev</strong>
    <strong>https://svn.plone.org/svn/collective/quills.app/trunk/#egg=quills.app-dev</strong>
 
[...]

Now in your zope instance where you want to add Quills add this :

[instance]
 
[...]
 
# If you want Zope to know about any additional eggs, list them here.
# This should include any development eggs you listed in develop-eggs above,
# e.g. eggs = ${buildout:eggs} ${plone:eggs} my.package
eggs =
    ${buildout:eggs}
    ${plone:eggs}
    <strong>quills.core</strong>
    <strong>quills.app</strong>
 
# If you want to register ZCML slugs for any packages, list them here.
# e.g. zcml = my.package my.other.package
zcml =
        <strong>quills.core</strong>
 
products =
    ${buildout:directory}/products
    ${productdistros:location}
    ${plone:products}
    <strong>${buildout:directory}/parts/quills-products</strong>

And now you just have to launch buidout and restart your zope server :

$ bin/builout
$ bin/instance_name fg

That’s all folk !

Leave a Reply