Skip to content
Mathieu Le Marec - Pasquet edited this page Oct 4, 2013 · 12 revisions

Repositories

Buildout & minilay notes

  • The buildout was first generated via cgwb and the Generic Portal Plone42 template.
  • It will add some extra tools in dev mode
  • It will add supervisor, crons for maintainance logrotate and vhost supports in production.
  • We use ZEO to allow easy scalability of the application
  • To enhance scalability, we use haproxy to load balance the zope backends (only one ATM).

Implementation notes

  • There are lot of tests, to understand the code, read them !
  • Tasks are (re)scheduled via collective.cron, see CONFIG
  • Tasks can be triggered manually either at source or database level (crontab dashboard)
  • Default plone user profiles have been extended to allow supplier and operator subscribptions
  • Source, event and database are dexterity contents
    • Database content stores in a flatten way
    • Sources : Know how and where to events from a source (http url)
    • Events : The event content, store all event data
  • Dont hesitate to follow the doctests here:
Clone this wiki locally