Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 7th, 2012  |  syntax: None  |  size: 4.75 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ###
  2. #This is for a production deployment, it installs just the products for a production site and sets up the zeo server
  3.  
  4. [buildout]
  5.  
  6. download-directory = downloads
  7. download-cache = downloads
  8. eggs-directory = eggs
  9. extensions = buildout.eggtractor
  10. unzip = true
  11. newest = false
  12.  
  13. parts =
  14.     plone
  15.     zope2
  16.     productdistros
  17.     zeo
  18.     instance1
  19.     instance2
  20.     zopepy
  21.     varnish-build
  22.     varnish-instance
  23.     pound-build
  24.     pound-instance
  25.     supervisor
  26.     backup
  27.  
  28. versions = versions
  29.  
  30. # Add additional egg download sources here. dist.plone.org contains archives
  31. # of Plone packages.
  32. find-links =
  33.     http://dist.repoze.org
  34.     http://dist.plone.org
  35.     http://download.zope.org/ppix/
  36.     http://download.zope.org/distribution/
  37.     http://effbot.org/downloads
  38.  
  39. # Add additional eggs here
  40. # elementtree is required by Plone
  41. eggs =
  42.     elementtree
  43.     MySQL-python
  44.     PIL
  45.     geopy
  46.     simplejson
  47.     Products.CacheSetup
  48.  
  49.  
  50. # Reference any eggs you are developing here, one per line
  51. # e.g.: develop = src/my.package
  52. develop =
  53.  
  54. [plone]
  55. recipe = plone.recipe.distros
  56. urls = http://launchpad.net/plone/2.5/2.5.5/+download/Plone-2.5.5.tar.gz
  57. nested-packages = Plone-2.5.5.tar.gz
  58. version-suffix-packages = Plone-2.5.5.tar.gz
  59.  
  60. [zope2]
  61. recipe = plone.recipe.zope2install
  62. url = http://www.zope.org/Products/Zope/2.9.8/Zope-2.9.8-final.tgz
  63. fake-zope-eggs = true
  64. additional-fake-eggs = ZODB3
  65. skip-fake-eggs =
  66.         zope.testing
  67.         zope.component
  68.         zope.i18n
  69.  
  70. # Use this section to download additional old-style products.
  71. # List any number of URLs for product tarballs under URLs (separate
  72. # with whitespace, or break over several lines, with subsequent lines
  73. # indented). If any archives contain several products inside a top-level
  74. # directory, list the archive file name (i.e. the last part of the URL,
  75. # normally with a .tar.gz suffix or similar) under 'nested-packages'.
  76. # If any archives extract to a product directory with a version suffix, list
  77. # the archive name under 'version-suffix-packages'.
  78. [productdistros]
  79. recipe = plone.recipe.distros
  80. urls =
  81.     http://plone.org/products/maps/releases/1.1/maps-1-1.tgz
  82.     http://gispython.org/downloads/zope/PleiadesGeocoder-1.0b2.tar.gz
  83.     http://plone.org/products/plonebookmarklets/releases/1.0.1/plonebookmarklets-1-0-1-final-tar.gz
  84.     http://plone.org/products/urlwidget/releases/0.7/urlwidget-0-7-tar.gz
  85.     http://plone.org/products/archecsv/releases/2.0/ArcheCSV-2.0.zip
  86.     http://plone.org/products/autocompletewidget/releases/1.2.1/autocompletewidget-1-2-1.tgz
  87.     http://plone.org/products/kupu/releases/1.4.11/kupu-1-4-11.tgz
  88.     http://plone.org/products/smart-csv-exporter/releases/0.6/SmartCsvExporter-0.6.tgz
  89.    
  90. nested-packages =
  91.     kupu-1-4-11.tgz
  92. version-suffix-packages =
  93.  
  94. [zeo]
  95. recipe = plone.recipe.zope2zeoserver
  96. zope2-location = ${zope2:location}
  97. zeo-address = 127.0.0.1:8100
  98.  
  99. [instance1]
  100. recipe = plone.recipe.zope2instance
  101. http-address = 8082
  102. user = admin:admin
  103. debug-mode = off
  104. verbose-security = off
  105. zeo-client = true
  106. zeo-address = ${zeo:zeo-address}
  107. effective-user = zope
  108. z2-log-level = CRITICAL
  109. zodb-cache-size = 15000
  110. zserver-threads = 2
  111.  
  112. eggs =
  113.     ${buildout:eggs}
  114.  
  115. zcml =
  116.  
  117. products =
  118.     ${buildout:directory}/products
  119.     ${productdistros:location}
  120.  
  121. [instance2]
  122. recipe = collective.recipe.zope2cluster
  123. instance-clone = instance1
  124. http-address = 8083
  125.  
  126.  
  127. [varnish-build]
  128. recipe = zc.recipe.cmmi
  129. url = http://downloads.sourceforge.net/varnish/varnish-2.1.1.tar.gz
  130.  
  131.  
  132. [varnish-instance]
  133. recipe = plone.recipe.varnish:instance
  134. daemon = ${buildout:directory}/parts/varnish-build/sbin/varnishd -p between_bytes_timeout=600 -p connect_timeout=600 -p first_byte_timeout=600
  135. bind = 127.0.0.1:8081
  136. config = ${buildout:directory}/etc/baynature.vcl
  137. cache-size = 1024MB
  138.  
  139.  
  140. [pound-build]
  141. recipe = plone.recipe.pound:build
  142. url = http://www.apsis.ch/pound/Pound-2.4.4.tgz
  143. # owner = zope
  144.  
  145. [pound-instance]
  146. recipe = plone.recipe.pound:config
  147. daemon = 0
  148. balancers =
  149.     one 127.0.0.1:8080 127.0.0.1:8082 127.0.0.1:8083
  150. timeout = 600
  151.  
  152.  
  153. [supervisor]
  154. recipe = collective.recipe.supervisor
  155. programs =
  156.     10 zeo ${zeo:location}/bin/runzeo
  157.     20 instance1 ${instance1:location}/bin/runzope
  158.     30 instance2 ${instance2:location}/bin/runzope
  159.     60 pound ${buildout:directory}/bin/poundrun
  160.     70 varnish ${buildout:directory}/bin/varnish-instance [ -F ]
  161.  
  162. [zopepy]
  163. recipe = zc.recipe.egg
  164. eggs = ${instance1:eggs}
  165. interpreter = zopepy
  166. extra-paths =
  167.     ${zope2:location}/lib/python
  168.     ${productdistros:location}/PloneGetPaid-bundle/lib/python
  169. scripts = zopepy
  170.  
  171. [backup]
  172. recipe = collective.recipe.backup
  173.  
  174. [versions]
  175. # Version pins for new style products go here
  176. plone.recipe.zope2instance = 3.6
  177. setuptools = 0.6c11