• BU Home | 
  • News | 
  • Events | 
  •  | 
  •  

Web Services Wiki

Welcome Guest: Login

Temporary Buildout Modifications

modifications will enable you to get a new instance of Silva up and running.  The modifications are temporary and will be eliminated from this page as they are "built into" the buildout process

Install the bethel.core package

Until bethel.core is developed as an egg that can be installed directly by the buildout script, you will need to manually install the bethel.core prior to actually running buildout to create your Silva instance

  • The buildout script itself can be used to install the bethel.core package
  • The code below will create a src directory and install the bethel.core package

After buildout

Copy webX-extensions

The Zope "Extensions" directory is empty after buildout, but needs to be populated.  For the time being, since I don't know how to automate this in buildout, copy the <buildout-dir>/parts/webX-extensions/Extensions/* into <buildout-dir>/parts/webX/Extensions

Setup logrotate in cron

The root of the buildout contains a logrotate config file which rotates the access and error logs for Zope instances.  Add logrotate to the zope user's cron:
@daily /usr/sbin/logrotate -s /home/zope/buildout/logrotate-web1.status /home/zope/buildout/logrotate.conf