Skip to main content

Home/ Plone distributed documentation/ Group items tagged buildout

Rss Feed Group items tagged

Graham Perrin

No, really, you can (just) use Buildout to install Plone. « Alex Clark's Plon... - 0 views

  • Buildout to install Plone
  • Alex Clark
  • a follow up to my Getting Excited about Plone as Eggs post
  • ...13 more annotations...
  • “mostly trivial” to write a buildout.cfg to install Plone
  • a working Plone, but not necessarily a repeatable buildout
  • If you are completely new to buildout
  • install buildout first
  • Distribute
  • curl -O http://python-distribute.org/distribute_setup.py
  • python distribute_setup.py
  • easy_install zc.buildout
  • mkdir plone
  • cd plone
  • buildout init
  • bin/instance console
  • January 7, 2010
Graham Perrin

Saving the day: recovering lost objects - Jarn · Plone Solutions - 1 views

  • recovering lost objects
  • entire section of his site was missing
  • someone had deleted the object
  • ...26 more annotations...
  • 9 days earlier
  • Undo was no longer an option
  • Truncating the Data.fs (removing all transactions since, including the offending one)
  • undesirable
  • through RelStorage
  • time traveling: zc.beforestorage
  • small additional buildout configuration file
  • beforestorage.cfg
  • [buildout]extends = buildout.cfgeggs += zc.beforestorage ZODB3 zope.proxy[versions]ZODB3 = 3.8.1zope.proxy = 3.4.2[relstorage-patch]recipe = plone.recipe.commandcommand = cd ${buildout:eggs-directory}/ZODB3-3.8.1-py2.4-linux-i686.egg/ZODB curl -s http://svn.zope.de/zope.org/relstorage/tags/1.1c1/poll-invalidation-1-zodb-3-8-0.patch | patch -N -p0 cd ${buildout:directory}update-command = ${relstorage-patch:command}[instance]zope-conf-additional += enable-product-installation False
  • enable-product-installation
  • tells Zope not to try and write product information to the ZODB
  • because zc.beforestorage puts your ZODB in read-only mode
  • edit the zope.conf
  • <zodb_db main>    # Main database    cache-size 650000%import zc.beforestorage%import relstorage <before> before 2008-12-08T10:29:03    <relstorage>        <oracle>            dsn RELSTORAGE_DSN            password xxxxxxxxx            user xxxxxxxx        </oracle>    </relstorage> </before>    mount-point /</zodb_db>
  • impossible as the site stores
  • <before> before 2008-12-08T10:29:03    <relstorage>        <oracle>            dsn RELSTORAGE_DSN            password xxxxxxxxx            user xxxxxxxx        </oracle>    </relstorage> </before>
  • when you start the instance, you are in the past
  • found the lost object
  • Export/Import
  • save the export on the server
  • buildout with your regular buildout file
  • restart
  • import the .zexp
  • reindex the imported content
  • related data that lives outside of the object itself is gone
  • Martijn Pieters
Graham Perrin

When the Plone installer isn't enough - Immersive Training Experience - 0 views

  • ZopeSkel to get everything started
  • buildout that is based on the latest best practices
  • products and add-ons
  • ...9 more annotations...
  • 10 minute getting started
  • In this case, we want a Plone 3 buildout that grabs the latest stable version of Plone.
  • repeatable deployments
  • cd mysite
  • python bootstrap.py
  • buildout profiles that extend one another
  • paster create -t plone3_buildout mysite
  • predictable results
  • sure to get the same deployment every time you run bin\buildout
Graham Perrin

New über-buildout with Repoze and Deliverance - Martin Aspeli - 0 views

  • Martin Aspeli
  • Aug 09, 2009
  • all-in-one
  • ...7 more annotations...
  • devleopment-and-production
  • using Repoze, WSGI and Deliverance
  • don't want to be dependent on a live internet connection for production deployment
  • based on the good-py
  • don't extend any remote services in the uber-buildouts
  • the goodness of: ZEO server4 ZEO clients running PasterSoftware load balancing using haproxyA Varnish cachenginx serving static content
  • über-buildout with Repoze and Deliverance
Graham Perrin

"You can make it painful" or "PyPI + lack_of_knowledge = kill_yourself" « PD... - 1 views

  • Download error: (60, 'Operation timed out') -- Some packages may not be found!
  • nice package by Florian Schulze
  • jarn.setuptoolsfixer
  • ...6 more annotations...
  • Simply add one more line to your buildout.cfg within [buildout] section:
  • extensions = jarn.setuptoolsfixer
  • how simple it is to break a buildout
  • Links in a package’s description should not be parsed
  • Dead links should not be parsed by setuptools when running a buildout
  • setuptools have to ignore duplicated URLs in a package’s index
Graham Perrin

python-ldap as egg with buildout - BlueDynamics Alliance - 0 views

Graham Perrin

Bug #415270 in collective.buildout: "Less memory hungry settings for plone.recipe.zope2... - 0 views

  • Less memory hungry
  • plone.recipe.zope2instance
  • Less memory hungry settings for plone.recipe.zope2instance
  • ...5 more annotations...
  • zodb cache site of 5000 objects
  • too much for servers of 512 MB - 768 MB memory (Plone 3.x)
  • suggest smaller cache
  • cache megabyte limiter
  • release notes
  •  
    Interesting. I'll experiment with my Plone 3.3.4 ZEO cluster on a G4 PowerPC Xserve, where physical RAM is limited to 2 GB …
Graham Perrin

Zope 3 wiki FAQ - General - Known Good Set (KGS) - 0 views

1 - 9 of 9
Showing 20 items per page